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

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

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

...= false;             }         }         /**          * 获取是否运行中          */         public get running(): boolean {             return this.$running;         }         /**          * 获取运行的时间          */         publi...

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

22. laya.effect.EffectBase_API3.0 [ 47%]

... Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 repeat repeat: number = 0 Defined in laya/effect/EffectBase.ts:15 重复次数,默认为播放一次 Optional runInEditor runInEditor: boolean Inherited from Component.runInEditor Defined in laya/c...

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

23. laya.effect.FadeOut_API3.0 [ 47%]

... Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 repeat repeat: number = 0 Inherited from EffectBase.repeat Defined in laya/effect/EffectBase.ts:15 重复次数,默认为播放一次 Optional runInEditor runInEditor: boolean Inherited from Compon...

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

24. laya.effect.FadeIn_API3.0 [ 47%]

... Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 repeat repeat: number = 0 Inherited from EffectBase.repeat Defined in laya/effect/EffectBase.ts:15 重复次数,默认为播放一次 Optional runInEditor runInEditor: boolean Inherited from Compon...

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

25. 列表组件 · LayaAir3.3 · 引擎文档 · LAYABOX [ 39%]

... class MyItem extends Laya.GButton { //注意!在onConstruct里才可以获取子对象,建议在这里做初始化,不要在构造函数里做初始化 onConstruct() { //this.xx = this.getChild("xx"); //this.xx.on(Laya.Event.CLICK, this, this.onClick); } sayHello() { console.log("Hello from M...

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

26. 2.x引擎项目升级说明 · LayaAir3.3 · 引擎文档 · LAYABOX [ 37%]

...载Texture还是Texture2D,他们在内存中都只有一份,但可以获取不同类型。 Laya.loader.load("1.png").then((res)=> { /* res是Texture */ }); Laya.loader.load("1.png", Loader.Texture2D).then((res)=> { /* res是Texture2D */ }); Laya.loader.getRes("1.png"); //res是Texture Laya...

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

27. Unity插件使用说明(TypeScript-3D基础(TS)-LayaAir3D之3D场景可视化编辑) [ 36%]

...中返回的完整场景scene添加到舞台 Laya.stage.addChild(scene); //获取摄像机 var camera = scene.getChildByName("Main Camera"); /** ** 省略其它代码若干,可前往Layabox官网示例或相关文档中查看 */ })); ``` ##### 5.2.2 预设的加载与使用(.lh) 有一些模型或...

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

28. laya.spine.SpineSkeleton_API3.0 [ 29%]

...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from Text.hitTestPrior Defined in laya/display...

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