大约有 470 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0060 秒)
Laya_社区(172) Laya3.0_api(80) Laya2.0_api(74) laya_api(69) Laya_示例(30) Laya2.0_文档(26) Laya2.0_示例(12) Laya3.0_文档(7)
...oy destroyChildren drawToCanvas drawToTexture drawToTexture3D event filter frameLoop frameOnce fresh freshLayout fromParentPoint getBounds getChildAt getChildByName getChildIndex getComponent getComponents getGraphicBounds getMousePoint getRepaint getSelfBounds get_anchorX get_anchorY get_bottom get...
来源: Laya3.0_api 发布时间: 20231115
...ey.meshRenderer.sharedMaterial = customMaterial; //开启旋转 Laya.timer.frameLoop(1, this, function() { layaMonkey.transform.rotate(this.rotation, false); }); })); ``` ####
来源: Laya2.0_文档 发布时间: 20210715
...ey.meshRenderer.sharedMaterial = customMaterial; //开启旋转 Laya.timer.frameLoop(1, this, function() { layaMonkey.transform.rotate(this.rotation, false); }); })); ``` ####
来源: Laya2.0_文档 发布时间: 20210715
...事件。 EventDispatcher exitFullscreen():void退出全屏模式Stage 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
...n(Event.MOUSE_DOWN,this,on_map_mousedown); Laya.timer.frameLoop(1,this,calcMoving); } private function on_stage_resize():void { if (this.m_IsMoving) { m_Role.pos((Laya...
来源: Laya_社区 发布时间: 20170921
...ey.meshRenderer.sharedMaterial = customMaterial; //开启旋转 Laya.timer.frameLoop(1, this, function() { layaMonkey.transform.rotate(this.rotation, false); }); })); ``` ####
来源: Laya2.0_文档 发布时间: 20210715
... = capsule.meshFilter.sharedMesh; capsule.name = "胶囊体"; Laya.timer.frameLoop(1, this, this.checkHit); this.loadUI(); console.log("碰撞结果:" + boxCollider1.boundBox.containsSphere(cylinder.meshRender.boundingSphere)); console.log("碰撞结果:" + boxCollider1.boundBox.containsBoundB...
来源: Laya_社区 发布时间: 20180820
...his.playAction(Player.RUN); //创建一个帧循环处理函数 Laya.timer.frameLoop(1, this, this.onLoop) } /** * 播放动作对应的动画 * action String 动作名称 */ _proto.playAction = function(action){ //如果是重复的动作 不执行 if(this.action == action)return; this.action = act...
来源: Laya_社区 发布时间: 20160801
...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
...画,一个图片,让这个sprite左右来回移动. 我的做法是启动frameLoop, 每帧移动3个像素. 结果是开始帧率在60,渲染时间保持在16, 过了大概15秒以后,渲染时间就会增加,帧率变慢,请问是什么原因导致的? /*********************************************...
来源: Laya_社区 发布时间: 20180515