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

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

21. 切换后台时,引擎如何判断是否停止定时器? [ 74%]

...Event.FOCUS, this, this.onFocus);         this.stage.on(Laya.Event.BLUR, this, this.onBlur);         Laya.timer.frameLoop(1,this,this.onFrameLoop);     }      private onFrameLoop():void{         console.log("delta:",Laya.timer.delta);     }      private onFo...

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

22. laya.filters.GlowFilter_API3.0 [ 74%]

...er GlowFilter Implements IFilter Index Constructors constructor Methods getBlurInfo1Native getBlurInfo2Native getColorNative _filter Constructors constructor new GlowFilter(color: string, blur?: number, offX?: number, offY?: number): GlowFilter Overrides Filter.constructor Defined in laya/filters/Gl...

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

23. [LayaAir2]2.13.7发布的安卓app,切到后台5秒后会断开socket连接 [ 73%]

...容相关的链接 提交 1 个回复 lv 赞同来自: 2.0不支持focus blur事件回调,可以想办法判断进出后台,处理断开和重新链接,比如update超过多长时间未更新即判断为进入后台。后面版本关注下跟新日志,后续版本会同步支持focus blur事...

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

24. CommandBuffer_Outline 每次 addCommandBuffer都会永久增加10Gpu,removed掉相机事件也不会减少 [ 70%]

...a/PathData"; import InsManager from "../manager/InsManager"; import { BlurEffect, BlurMaterial } from "../shader/BlurShader/BlurEffect";  export class CommandBuffer_Outline {      private commandBuffer: Laya.CommandBuffer;     private cameraEventFlag: Laya.CameraEventFlags...

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

25. GlowFilter和TimeLine/Tween一起用的问题 [ 70%]

...     for(var i = 0; i < 5; i++){             t.to(glowFilter, {blur: 10}, 200, null, 0);             t.to(glowFilter, {blur: 1}, 200, null, 0);         }         t.on(Event.COMPLETE, this, function(){             sp.filters = null;         });         t.play(0,...

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

26. laya.events.Event [ 68%]

...ANGED : String = animationchanged[static] 更换动作时触发。Event  BLUR : String = blur[static] 定义 blur 事件对象的 type 属性值。Event  CHANGE : String = change[static] 定义 change 事件对象的 type 属性值。Event  CHANGED : String = changed[static] 定义 changed 事...

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

27. laya.events.Event_API3.0 [ 68%]

...rentTarget delta isDblClick nativeEvent target touchId touchPos type ADDED BLUR CHANGE CHANGED CLICK CLOSE COLLISION_ENTER COLLISION_EXIT COLLISION_STAY COMPLETE DEVICE_LOST DISPLAY DOUBLE_CLICK DRAG_END DRAG_MOVE DRAG_START EMPTY END ENTER ERROR FOCUS FOCUS_CHANGE FRAME FULL_SCREEN_CHANGE INPUT JOI...

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

28. laya.events.Event [ 68%]

...ANGED : String = animationchanged[static] 更换动作时触发。Event  BLUR : String = blur[static] 定义 blur 事件对象的 type 属性值。Event  CHANGE : String = change[static] 定义 change 事件对象的 type 属性值。Event  CHANGED : String = changed[static] 定义 changed 事...

来源: laya_api 发布时间: 20170929

29. laya.ui.UIEvent [ 66%]

...CHANGED : String = animationchanged[static] 更换动作时触发。Event BLUR : String = blur[static] 定义 blur 事件对象的 type 属性值。Event CHANGE : String = change[static] 定义 change 事件对象的 type 属性值。Event CHANGED : String = changed[static] 定义 changed 事件...

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

30. laya.ui.UIEvent [ 65%]

...CHANGED : String = animationchanged[static] 更换动作时触发。Event BLUR : String = blur[static] 定义 blur 事件对象的 type 属性值。Event CHANGE : String = change[static] 定义 change 事件对象的 type 属性值。Event CHANGED : String = changed[static] 定义 changed 事件...

来源: laya_api 发布时间: 20170929