大约有 289 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0077 秒)
...= null, coverBefore:Boolean = true):void 定时重复执行某函数(基于帧率)。功能同Laya.timer.frameLoop()。 Node frameOnce(delay:int, caller:*, method:Function, args:Array = null, coverBefore:Boolean = true):void 定时执行一次某函数(基于帧率)。功能同Laya.timer.frameOnce(...
来源: Laya2.0_api 发布时间: 20190513
...= null, coverBefore:Boolean = true):void 定时重复执行某函数(基于帧率)。功能同Laya.timer.frameLoop()。 Node frameOnce(delay:int, caller:*, method:Function, args:Array = null, coverBefore:Boolean = true):void 定时执行一次某函数(基于帧率)。功能同Laya.timer.frameOnce(...
来源: Laya2.0_api 发布时间: 20190513
...环 if(this.hero.hp < 1){ Laya.timer.clear(this,onLoop); } // 每隔30帧创建新的敌机 if(Laya.timer.currFrame%60 === 0){ createEnemy(2); } } function lostHp(role,lostHp){ // 减血 role.hp -= lostHp; if(role.heroType === 2){ // 每吃一个子弹升级道具,子弹升级+1 this.bulletLeve...
来源: Laya_社区 发布时间: 20170525
...ed in laya/ani/AnimationTemplet.ts:248 计算当前时间应该对应关键帧的哪一帧 Parameters nodeframes: KeyFramesContent[] 当前骨骼的关键帧数据 nodeid: number 骨骼id,因为要使用和更新 _boneCurKeyFrm tm: number Returns number 问题 最后一帧有问题,例如倒数...
来源: Laya3.0_api 发布时间: 20231115
...时光源 LayaAir会在运行时为实时光源执行光照计算,每帧进行一次。你可以在运行时更改实时光源的属性,从而创建诸如闪烁的灯泡或穿过暗室的火炬之类的效果。 实时光源可用于在角色或可移动的几何体上提供光照和投射...
来源: Laya3.0_文档 发布时间: 20251010
...= null, coverBefore:Boolean = true):void 定时重复执行某函数(基于帧率)。功能同Laya.timer.frameLoop()。 Node frameOnce(delay:int, caller:*, method:Function, args:Array = null, coverBefore:Boolean = true):void 定时执行一次某函数(基于帧率)。功能同Laya.timer.frameOnce(...
来源: laya_api 发布时间: 20170929
...= null, coverBefore:Boolean = true):void 定时重复执行某函数(基于帧率)。功能同Laya.timer.frameLoop()。 Node frameOnce(delay:int, caller:*, method:Function, args:Array = null, coverBefore:Boolean = true):void 定时执行一次某函数(基于帧率)。功能同Laya.timer.frameOnce(...
来源: Laya2.0_api 发布时间: 20190513
...= null, coverBefore:Boolean = true):void 定时重复执行某函数(基于帧率)。功能同Laya.timer.frameLoop()。 Node frameOnce(delay:int, caller:*, method:Function, args:Array = null, coverBefore:Boolean = true):void 定时执行一次某函数(基于帧率)。功能同Laya.timer.frameOnce(...
来源: Laya2.0_api 发布时间: 20190513
...环 if(this.hero.hp < 1){ Laya.timer.clear(this,onLoop); } // 每隔30帧创建新的敌机 if(Laya.timer.currFrame%60 === 0){ createEnemy(2); } } function lostHp(role,lostHp){ // 减血 role.hp -= lostHp; if(role.heroType === 2){ // 每吃一个子弹升级道具,子弹升级+1 this.bulletLeve...
来源: Laya_社区 发布时间: 20170525
...= null, coverBefore:Boolean = true):void 定时重复执行某函数(基于帧率)。功能同Laya.timer.frameLoop()。 Node frameOnce(delay:int, caller:*, method:Function, args:Array = null, coverBefore:Boolean = true):void 定时执行一次某函数(基于帧率)。功能同Laya.timer.frameOnce(...
来源: Laya2.0_api 发布时间: 20190513