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

大约有 314 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0053 秒)

111. CPU优化方式(ActionScript-2D进阶篇(AS3)-性能优化) [ 48%]

...是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

112. CPU优化方式(JavaScript-2D进阶篇(JS)-性能优化) [ 48%]

...于是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

113. laya.d3.core.BaseCamera [ 47%]

...= 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

114. laya.d3.core.VRCamera [ 47%]

...= 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

115. laya.map.TileAniSprite [ 47%]

...= 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

116. laya.d3.core.scene.VRScene [ 47%]

...= 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

117. laya.physics.PhysicsDebugDraw [ 47%]

...= 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

118. laya.map.TileAniSprite [ 46%]

...= 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

119. laya.particle.Particle2D [ 46%]

...= 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

120. 如何获取animation的node节点? [ 46%]

...Math.round(1000/aniProps.mc[options.srcName].frameRate); // 设置动画的帧率 ani.autoPlay = options.autoPlay; // 设置动画是否自动播放 }; 给个hack参考,只要相同帧数的一种动画类型定义一个.ani就行了,比如roleWeapon_8f.ani(玩家武器的8帧动画),每...

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