大约有 116 项符合查询结果, 库内数据总量为 30,902 项。 (搜索耗时: 0.0034 秒)
...置jumpFrame=true后,则回调会连续执行多次 再看laya.core.js中Timer._update()方法的这段代码: if (handler.repeat){ if (!handler.jumpFrame){ ...
来源: Laya_社区 发布时间: 20180411
...text.fontSize = 60; text.color = "#ff0000" Laya.stage.addChild(text); Laya.timer.frameLoop(1, this, this.gameLoop); } createCharacters() { let char; let charSkin; for (let i = 0; i = 0; i--) { characters[i].update(); } if (Laya.timer.currFrame % 60 === 0) { text.text = Stat.FPS.toString(); } } } cla...
来源: Laya2.0_示例 发布时间: 20250221
关于逻辑贞更新间隔机制、时间和其他一些Timer相关的问题 问一下 1.当使用Laya.timer.frameLoop时,是否前一贞到这一贞之间的deltaTime只有通过主动从laya.utils.Timer里去获取delta值才能得到?还是说有类似Unity3D中继承并override一个特定...
来源: Laya_社区 发布时间: 20160825
...ysics.I.start() 里面 添加一下 或者 可以 直接调用 Laya.physicsTimer.frameLoop(1,this,this._update); 重新开启 物理世界的方法 2019-07-25 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 yggdra 相关问题 2.0一...
来源: Laya_社区 发布时间: 20190612
...s/kahreman/laya/q3_client/trunk/bin/libs/laya.physics.js:1596:15) at TimerHandler.__proto.run (/Users/kahreman/laya/q3_client/trunk/bin/libs/laya.core.js:8979:46) at Timer.__proto._update (/Users/kahreman/laya/q3_client/trunk/bin/libs/laya.core.js:8717:17) at Stage.__proto._updateT...
来源: Laya_社区 发布时间: 20190407
Node.ts 节点销毁之后为什么要注释掉 timer 的清理操作。 /** * <p>销毁此对象。destroy对象默认会把自己从父节点移除,并且清理自身引用关系,等待js自动垃圾回收机制回收。destroy后不能再使用。</p> * <p>destroy时会...
来源: Laya_社区 发布时间: 20220224
...父节点。Node scene : Scene[read-only] 获得所属场景。 Sprite3D timer : Timer时间控制器,默认为Laya.timer。Node transform : Transform3D[read-only] 获取精灵变换。 Sprite3D url : String 获取资源的URL地址。 Sprite3DPublic Methods Hide Inherited Public Methods Show ...
来源: laya_api 发布时间: 20170929
...时重复执行(基于帧率)。 初始化时 设置每帧执函数 Laya.timer.frameLoop(1,this,this.update); 运行一段时间后 update函数不执行了 2018-05-02 添加评论 悬赏 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 0 个回复 ...
来源: Laya_社区 发布时间: 20180502
...te3D templet : GlitterTemplet[read-only] 获取闪光模板。 Glitter timer : Timer时间控制器,默认为Laya.timer。Node transform : Transform3D[read-only] 获取精灵变换。 Sprite3D url : String 获取资源的URL地址。 Sprite3DPublic Methods Hide Inherited Public Methods Show ...
来源: laya_api 发布时间: 20170929
...perty 'length' of null at TimeLine.__proto._update (HMain.max.js:12479) at TimerHandler.__proto.run (HMain.max.js:9196) at Timer.__proto._update (HMain.max.js:8951) at Stage.__proto.render (HMain.max.js:16932) at Stage.__proto._loop (HMain.max.js:16892) at loop (HMain.max.js:5472) private funct...
来源: Laya_社区 发布时间: 20170327