• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 465 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0052 秒)

141. 高级应用-实时阴影 [ 62%]

...te(this, onComplete)); var _quaternion = new Laya.Quaternion(); Laya.timer.frameLoop(1, null, function () { Laya.Quaternion.createFromYawPitchRoll(0.025, 0, 0, _quaternion); var _direction = directionLight.direction; Laya.Vector3.transformQuat(_direction, _quaternion, _direction); directionLight.dir...

来源: Laya_示例 发布时间: 20240930

142. laya.d3.core.pixelline.PixelLineSprite3D_API3.0 [ 62%]

...nt callLater clear clearTimer clone contains destroy destroyChildren event frameLoop frameOnce getChildAt getChildByName getChildIndex getComponent getComponents getLine hasHideFlag hasListener isAncestorOf off offAll offAllCaller on onAfterDeserialize onAwake onDestroy onDisable onEnable once remov...

来源: Laya3.0_api 发布时间: 20231115

143. 边缘抖动,闪烁 [ 62%]

...容相关的链接 提交 1 个回复 Laya_XS 赞同来自: 你timer改成frameLoop测试下,别用基于时间的,用基于帧循环! 2017-02-28 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 相关问题 做好的粒子特效在U3D里循...

来源: Laya_社区 发布时间: 20170228

144. 每帧执行函数 [ 62%]

... 与内容相关的链接 提交 1 个回复 yung 赞同来自: Laya.timer.frameLoop(1,this,onLoop); 2018-05-14 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 135*****194 相关问题 dialog 自定义关闭效果,效果执行完,弹...

来源: Laya_社区 发布时间: 20180512

145. 请大家帮助优化一下这个抛物线的代码 [ 62%]

...ball.png"); this.body.pivot(12,12); } this.addChild(this.body); Laya.timer.frameLoop(1,this,this.animate); } private animate(e):void{ this.body.rotation += 10; } } class Main{ private ball:Ball; private targetX:number = 600; private targetY:number = 300; private centerX:number = 0; private centerY:...

来源: Laya_社区 发布时间: 20171108

146. 真机下运行帧率不稳定 [ 62%]

...有这个问题  class Scene_Test { constructor() { super(); Laya.timer.frameLoop(1,this,this.update); } private update() { let dt = Laya.timer.delta / 1000; console.log("dt="+dt); } } 附件中图1是在iphone6上面运行打印的信息,图2是在模拟下运行打印的信息。   请问有...

来源: Laya_社区 发布时间: 20180808

147. EVENT [ 62%]

...赞同来自: SWF支持ENTER_FRAME事件,其他地方请使用Laya.timer.frameLoop()方法替代! 2017-02-09 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 问题状态 最新活动: 2017-02-09 17:01 浏览: 1011 关注: 1 人

来源: Laya_社区 发布时间: 20170209

148. laya.d3.core.Sprite3D [ 62%]

...event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher frameLoop(delay:int, caller:*, method:Function, args:Array = null, coverBefore:Boolean = true):void 定时重复执行某函数(基于帧率)。功能同Laya.timer.frameLoop()。 Node frameOnce(delay:int, caller:*, method:Fu...

来源: Laya2.0_api 发布时间: 20190513

149. laya.d3.core.RenderableSprite3D [ 61%]

...event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher frameLoop(delay:int, caller:*, method:Function, args:Array = null, coverBefore:Boolean = true):void 定时重复执行某函数(基于帧率)。功能同Laya.timer.frameLoop()。 Node frameOnce(delay:int, caller:*, method:Fu...

来源: Laya2.0_api 发布时间: 20190513

150. laya.d3.core.light.LightSprite [ 61%]

...event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher frameLoop(delay:int, caller:*, method:Function, args:Array = null, coverBefore:Boolean = true):void 定时重复执行某函数(基于帧率)。功能同Laya.timer.frameLoop()。 Node frameOnce(delay:int, caller:*, method:Fu...

来源: Laya2.0_api 发布时间: 20190513