大约有 314 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0053 秒)
...是Stage.FRAME_MOUSE应运而生。 下例展示以Stage.FRAME_SLOW的帧率,在画布上移动鼠标,使圆球跟随鼠标移动: ```javascript Laya.init(Browser.width, Browser.height); Stat.show(); Laya.stage.frameRate = Stage.FRAME_SLOW; var sp:Sprite = new Sprite(); sp.grap...
来源: Laya2.0_文档 发布时间: 20210715
...于是Stage.FRAME_MOUSE应运而生。 下例展示以Stage.FRAME_SLOW的帧率,在画布上移动鼠标,使圆球跟随鼠标移动: ```javascript Laya.init(Browser.width,Browser.height); Laya.Stat.show(); Laya.stage.frameRate=Stage.FRAME_SLOW; var sp=new Laya.Sprite(); sp.graphics.drawCircle...
来源: Laya2.0_文档 发布时间: 20210715
...= 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(...
来源: 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(...
来源: 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(...
来源: laya_api 发布时间: 20170422
...= 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
...= 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
...Math.round(1000/aniProps.mc[options.srcName].frameRate); // 设置动画的帧率 ani.autoPlay = options.autoPlay; // 设置动画是否自动播放 }; 给个hack参考,只要相同帧数的一种动画类型定义一个.ani就行了,比如roleWeapon_8f.ani(玩家武器的8帧动画),每...
来源: Laya_社区 发布时间: 20190215