大约有 466 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0062 秒)
Laya_社区(171) Laya3.0_api(80) Laya2.0_api(74) laya_api(69) Laya_示例(30) Laya2.0_文档(23) Laya2.0_示例(12) Laya3.0_文档(7)
...void { //设置定时器执行,定时重复执行(基于帧率) Laya.timer.frameLoop(1, this, this.animate); } private animate(): void { // 旋转立方体(四元数) this.cube.transform.rotate(this.rot, false, false); } } 旋转的效果如动图2-1所示: (动图2-1) 2.2 localRotationEul...
来源: Laya3.0_文档 发布时间: 20251010
...Child(this.bg2); //创建一个帧循环,更新容器位置 Laya.timer.frameLoop(1,this,this.onLoop); } //注册类 Laya.regClass(BackGround,"BackGround",_super); var _proto = BackGround.prototype; _proto.onLoop = function(){ //背景容器每帧向下移动一像素 this.y +=1; //如果背景...
来源: Laya_社区 发布时间: 20191018
...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...
来源: laya_api 发布时间: 20170929
...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...
来源: laya_api 发布时间: 20170929
APP打包后运行效果与调试效果不一致(sprite,child) Laya.timer.frameLoop(1,this,this.run()); public run():void{ var childs:Array<Laya.Sprite> = this._childs; childs.sort(this.sortHandler); } public sortHandler(left:Laya.Sprite,right:Laya.Sprite):number{ return left.y...
来源: Laya_社区 发布时间: 20180228
...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...
来源: laya_api 发布时间: 20170929
...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...
来源: laya_api 发布时间: 20170929
...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
...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...
来源: laya_api 发布时间: 20170929
....rotation = new Laya.Quaternion(0.7071068, 0, 0, -0.7071067); //Laya.timer.frameLoop(1, this, function () { // layaMonkey.transform.rotate(this.rotation, false); //}); }这种是没法合并的吧!100个drawcall 2018-03-29 0 0 分享 微博 QZONE 微信 jinqi166 赞同来自: 我的游戏比较特...
来源: Laya_社区 发布时间: 20180329