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

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

181. 时间帧更新问题 [ 58%]

时间帧更新问题 var t=Date.now(); Laya.stage.frameLoop(1,this,function(){        Message.show(Date.now()-t+"_"+Laya.stage.frameRate);       t=Date.now(); }) 写了上面的简单Demo测试,发现用运行器运行,每一帧的时间间隔都是50-70毫秒,但如果在浏览器运...

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

182. Laya.Handler.create 回调 [ 58%]

...集 回调函数可以传形参吗? 怎么停止正在运行Laya.timer.frameLoop的回调函数 问题状态 最新活动: 2017-03-09 18:29 浏览: 4390 关注: 2 人 Playerdata1 • 2017-03-09 18:35 好的 我试下 谢谢!~

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

183. laya.d3.core.pixelLine.PixelLineSprite3D [ 58%]

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

184. WebGLContext2D.setIBVB这个函数在2.0里没有了用什么代替? [ 58%]

...opengl函数问题 网页跳转函数 怎么停止正在运行Laya.timer.frameLoop的回调函数 请问laya.net.Loader和laya.net.LoaderManager哪些函数支持网络资源加载,加载什么类型?哪些只支持本地资源加载 Uncaught Error:此函数id(167),ctype(167)报错...

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

185. 射线检测-放置物体 [ 58%]

...MeshCollider); meshCollider.mesh = plane.meshFilter.sharedMesh; Laya.timer.frameLoop(1, this, checkHit); var ray = new Laya.Ray(new Laya.Vector3(0, 0, 0), new Laya.Vector3(0, 0, 0)); var point = new Laya.Vector2(); var _outHitInfo = new Laya.RaycastHit(); function checkHit() { //从屏幕空间生...

来源: Laya_示例 发布时间: 20240930

186. laya.d3.terrain.TerrainChunk [ 58%]

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

187. laya.d3.core.MeshTerrainSprite3D [ 58%]

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

188. 在微信分享成功的回调函数里,Laya播放音效失败。 [ 58%]

...eEx.prototype.resume = function () { //在循环中创建敌人 Laya.timer.frameLoop(1,this,this.onLoop); console.log("恢复播放音乐") Laya.SoundManager.stopMusic(); Laya.SoundManager.playMusic("res/sound/BGM.mp3", 0, null); // var test = new EffectFlicker(); // test.startRun(); // test.startRu...

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

189. 进度条滚动无效【已解决】 [ 58%]

...据例子使用无效,就是不滚动,一直在0的位置 Laya.timer.frameLoop(1,this,onLoop); private function onLoop():void { progress++; //最高100%进度 if(progress>=100) { progress=100; this.tips.text="游戏加载完毕,即将进入游戏..." this.panel.visible=false; this.gobtn.vis...

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

190. 设置相机的skyboxMaterial无效 [ 58%]

...r.create(null, function (mat) { camera.skyboxMaterial = mat; // Laya.timer.frameLoop(1, this, function () { // mat.rotation += 0.1; // }); })); skyBox.zip 2018-10-17 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该问题目前已经被锁定, 无法添加新回复 发起...

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