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

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

11. 计时器-延迟执行 [ 85%]

...除鼠标单击事件 button1.off(Event.CLICK, this, onDecreaseAlpha1); //定时执行一次(间隔时间) Laya.timer.once(3000, this, onComplete1); } function onDecreaseAlpha2(e) { //移除鼠标单击事件 button2.off(Event.CLICK, this, onDecreaseAlpha2); //定时执行一次(基于帧率) Laya.t...

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

12. laya.display.Node [ 84%]

...计算数据。 Node  clearTimer(caller:*, method:Function):void 清理定时器。功能同Laya.timer.clearTimer()。 Node  contains(node:Node):Boolean 当前容器是否包含指定的 Node 节点对象 。 Node  destroy(destroyChild:Boolean = true):void 销毁此对象。destroy对象默认...

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

13. 计时器-延迟执行 [ 84%]

...单击事件 this.button1.off(Event.CLICK, this, this.onDecreaseAlpha1); //定时执行一次(间隔时间) Laya.timer.once(3000, this, this.onComplete1); } onDecreaseAlpha2(e) { const Event = Laya.Event; //移除鼠标单击事件 this.button2.off(Event.CLICK, this, this.onDecreaseAlpha2); //定时...

来源: Laya2.0_示例 发布时间: 20241001

14. 为何定时时钟函数可以执行,但是得到的值却不会实时刷新 [ 84%]

为何定时时钟函数可以执行,但是得到的值却不会实时刷新 比如 this.loadNum=0; //资源加载进度中函数 _proto_.onProgress = function(){ //显示加载进度 Laya.timer.loop(100,this,this.ontime); this.txt_load.text = "资源加载中,当前进度:" + parseInt(this.l...

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

15. laya.d3.core.light.DirectionLight [ 77%]

...迟计算数据。 Node clearTimer(caller:*, method:Function):void 清理定时器。功能同Laya.timer.clearTimer()。 Node clone():Node 克隆。 Sprite3D contains(node:Node):Boolean 当前容器是否包含指定的 Node 节点对象 。 Node destroy(destroyChild:Boolean = true):void[overrid...

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

16. laya.d3.core.light.PointLight [ 77%]

...迟计算数据。 Node clearTimer(caller:*, method:Function):void 清理定时器。功能同Laya.timer.clearTimer()。 Node clone():Node 克隆。 Sprite3D contains(node:Node):Boolean 当前容器是否包含指定的 Node 节点对象 。 Node destroy(destroyChild:Boolean = true):void[overrid...

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

17. laya.d3.core.light.SpotLight [ 77%]

...迟计算数据。 Node clearTimer(caller:*, method:Function):void 清理定时器。功能同Laya.timer.clearTimer()。 Node clone():Node 克隆。 Sprite3D contains(node:Node):Boolean 当前容器是否包含指定的 Node 节点对象 。 Node destroy(destroyChild:Boolean = true):void[overrid...

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

18. 3D变换 · LayaAir3.0文档 · LAYABOX [ 76%]

...均已创建完毕,此方法只执行一次 */ onAwake(): void { //设置定时执行,定时重复执行(基于帧率) Laya.timer.frameLoop(1, this, this.animate); } private animate(): void { // 旋转立方体(四元数) this.cube.transform.rotate(this.rot, false, false); } } 旋转的效...

来源: Laya3.0_文档 发布时间: 20230821

19. laya.d3.terrain.Terrain [ 76%]

...迟计算数据。 Node clearTimer(caller:*, method:Function):void 清理定时器。功能同Laya.timer.clearTimer()。 Node clone():Node 克隆。 Sprite3D contains(node:Node):Boolean 当前容器是否包含指定的 Node 节点对象 。 Node  depth():Number 获取地形Z轴长度。 Terrai...

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

20. laya.d3.core.light.LightSprite [ 75%]

...迟计算数据。 Node clearTimer(caller:*, method:Function):void 清理定时器。功能同Laya.timer.clearTimer()。 Node clone():Node 克隆。 Sprite3D contains(node:Node):Boolean 当前容器是否包含指定的 Node 节点对象 。 Node destroy(destroyChild:Boolean = true):void[overrid...

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