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

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

11. 灯光-聚光 [ 70%]

...on = new Laya.Quaternion(); var _position = new Laya.Vector3(); Laya.timer.frameLoop(1, null, function () { Laya.Quaternion.createFromYawPitchRoll(0.025, 0, 0, _quaternion); Laya.Vector3.transformQuat(spotLight.transform.position, _quaternion, _position); spotLight.transform.position = _position; va...

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

12. laya.d3.core.Sprite3D_API3.0 [ 70%]

...bleEvent callLater clearTimer clone contains destroy destroyChildren event frameLoop frameOnce getChildAt getChildByName getChildIndex getComponent getComponents hasHideFlag hasListener isAncestorOf off offAll offAllCaller on onAfterDeserialize onAwake onDestroy onDisable onEnable once removeChild r...

来源: Laya3.0_api 发布时间: 20231115

13. 微信小游戏渲染开放域卡顿处理 [ 69%]

...舒服,自己封装的定时器,不想用可直接替换成Laya.timer.frameLoop来替代,请自行修改跟Timer相关代码。 module lie {     /**      * 定时器,可启动、停止及统计已运行时间(单位毫秒),默认启动      */     export class Timer {     ...

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

14. 灯光-点光 [ 69%]

... = new Laya.Vector3(); var _quaternion = new Laya.Quaternion(); Laya.timer.frameLoop(1, null, function () { Laya.Quaternion.createFromYawPitchRoll(0.025, 0, 0, _quaternion); Laya.Vector3.transformQuat(pointLight.transform.position, _quaternion, _position); pointLight.transform.position = _position; ...

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

15. HIERARCHY_LOADED函数不回调 [ 69%]

...函数,如果鼠标一直在动,多久会执行一次,一帧吗?和frameLoop一样? 怎么停止正在运行Laya.timer.frameLoop的回调函数 关于customRender函数不执行的问题 执行回调函数时报is not a function js调as函数 undifine 构造函数不能进断点 注册函...

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

16. list 中的scrollbar [ 68%]

...USE_OUT*/"mouseout",this,this.onStageMouseUp2);         Laya.timer.frameLoop(1,this,this.loop);     } // 点击之后出发的是mousedown事件, 这里直接是this.event("end")的 2020-11-18 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先...

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

17. laya.d3.core.reflectionprobe.ReflectionProbe_API3.0 [ 67%]

...putChild callLater clearTimer clone contains destroy destroyChildren event frameLoop frameOnce getChildAt getChildByName getChildIndex getComponent getComponents hasHideFlag hasListener isAncestorOf off offAll offAllCaller on onAfterDeserialize onAwake onDestroy onDisable onEnable once removeChild r...

来源: Laya3.0_api 发布时间: 20231102

18. 【简单跑酷--JS版】---Lv.3 添加地板 [ 67%]

...roto.init = function(type){ //创建一个帧循环处理函数 Laya.timer.frameLoop(1, this, this.onLoop); } //在地板上面添加物品 _proto.addItem = function(){ } _proto.onLoop = function(){ } })(); 因为是一个跑酷的游戏 所以 我们之前提到过 这个地板最好有一个类专...

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

19. laya.display.Node [ 66%]

...ent(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:...

来源: Laya2.0_api 发布时间: 20190513

20. 材质-BlinnPhong-反射贴图 [ 66%]

...rial; //反射贴图 material.reflectTexture = textureCube; }); Laya.timer.frameLoop(1, this, function () { teapot1.transform.rotate(this.rotation, false); teapot2.transform.rotate(this.rotation, false); });class BlinnPhong_ReflectMap { private rotation:Laya.Vector3 = new Laya.Vector3(0, 0.01, 0); c...

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