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

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

451. laya.ui.Tree_API3.0 [ 37%]

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

452. 关联shader的uniform(JavaScript-3D基础(JS)-LayaAir3D之shader) [ 36%]

...ey.meshRenderer.sharedMaterial = customMaterial; //开启旋转 Laya.timer.frameLoop(1, this, function() { layaMonkey.transform.rotate(this.rotation, false); }); })); ``` ####

来源: Laya2.0_文档 发布时间: 20210715

453. 关联shader的uniform(TypeScript-3D基础(TS)-LayaAir3D之Shader) [ 36%]

...ey.meshRenderer.sharedMaterial = customMaterial; //开启旋转 Laya.timer.frameLoop(1, this, function() { layaMonkey.transform.rotate(this.rotation, false); }); })); ``` ####

来源: Laya2.0_文档 发布时间: 20210715

454. laya.display.Stage [ 36%]

...事件。 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

455. 动画不显示 [ 36%]

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

456. 关联shader的uniform(ActionScript-3D基础(AS3)-LayaAir3D之shader) [ 35%]

...ey.meshRenderer.sharedMaterial = customMaterial; //开启旋转 Laya.timer.frameLoop(1, this, function() { layaMonkey.transform.rotate(this.rotation, false); }); })); ``` ####

来源: Laya2.0_文档 发布时间: 20210715

457. 有关Laya3D碰撞检测疑问 [ 35%]

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

458. 【简单跑酷--JS版】---Lv.4 添加玩家 [ 35%]

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

459. laya.display.Sprite [ 34%]

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

460. 十几秒以后动画渲染时间变长,帧率变慢,是怎么回事? [ 34%]

...画,一个图片,让这个sprite左右来回移动. 我的做法是启动frameLoop, 每帧移动3个像素. 结果是开始帧率在60,渲染时间保持在16, 过了大概15秒以后,渲染时间就会增加,帧率变慢,请问是什么原因导致的? /*********************************************...

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