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

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

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

112. laya.d3.core.BaseCamera [ 48%]

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

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

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

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

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

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

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

119. [LayaNative3]3.2.0-beta2的windows模拟器启动黑屏 [ 46%]

...Rate=120将游戏刷新率设置为120帧,而laya只提供了两个可选帧率,一个是Laya.Stage.FRAME_SLOW(30帧),一个是Laya.Stage.FRAME_FAST(60帧),如何实现120帧呢? layaAir小孟 • 2024-07-03 17:40 1、我刚刚想错了,您说vConsole,我一直想着统计信...

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

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

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

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