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

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

11. Laya.Pool.getItemByClass 找不到上次释放的对象 [ 66%]

...对象 Laya.Pool.recover("mybg",BackGround); bg1.removeSelf(); Laya.stage.removeChild(bg1); console.log("bg1->",bg1); //再次从Pool里获取对象的时候,就报错了 var bg2:BackGround= Laya.Pool.getItemByClass("mybg",BackGround); Laya.stage.addChild(bg2); console.log("bg2->",bg2);结...

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

12. 有没有更好的获取子节点的方式(有没有一个可以代替 HIERARCHY_LOADED 的事件)? [ 66%]

...oy是删除整个节点并清楚资源,为什么要用这个接口? 用removeChildremoveSelf这些,只从场景树下删除节点不好吗? 如果使用了预加载,为什么还需要监听这些事件?有什么特殊需求吗? 2017-06-19 0 0 分享 微博 QZONE 微信 为什么被折...

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

13. laya.d3.core.reflectionprobe.ReflectionProbe_API3.0 [ 65%]

...fAllCaller on onAfterDeserialize onAwake onDestroy onDisable onEnable once removeChild removeChildAt removeChildByName removeChildren removeInputChild removeSelf replaceChild runCallLater setChildIndex timerLoop timerOnce instantiate load Constructors constructor new ReflectionProbe(): ReflectionPro...

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

14. laya.d3.core.light.LightSprite_API3.0 [ 63%]

...fAllCaller on onAfterDeserialize onAwake onDestroy onDisable onEnable once removeChild removeChildAt removeChildByName removeChildren removeSelf replaceChild runCallLater setChildIndex timerLoop timerOnce instantiate load Constructors constructor new LightSprite(): LightSprite Overrides Sprite3D.con...

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

15. laya.d3.core.light.PointLight_API3.0 [ 62%]

...fAllCaller on onAfterDeserialize onAwake onDestroy onDisable onEnable once removeChild removeChildAt removeChildByName removeChildren removeSelf replaceChild runCallLater setChildIndex timerLoop timerOnce instantiate load Constructors constructor new PointLight(): PointLight Overrides LightSprite.co...

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

16. laya.d3.core.RenderableSprite3D_API3.0 [ 62%]

...fAllCaller on onAfterDeserialize onAwake onDestroy onDisable onEnable once removeChild removeChildAt removeChildByName removeChildren removeSelf replaceChild runCallLater setChildIndex timerLoop timerOnce instantiate load Constructors constructor new RenderableSprite3D(name: string): RenderableSprit...

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

17. laya.d3.core.BaseCamera_API3.0 [ 62%]

...AfterDeserialize onAwake onDestroy onDisable onEnable once removeAllLayers removeChild removeChildAt removeChildByName removeChildren removeLayer removeSelf render replaceChild resetProjectionMatrix runCallLater setChildIndex timerLoop timerOnce __init__ instantiate load Constructors constructor new...

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

18. laya.d3.core.light.SpotLight_API3.0 [ 62%]

...fAllCaller on onAfterDeserialize onAwake onDestroy onDisable onEnable once removeChild removeChildAt removeChildByName removeChildren removeSelf replaceChild runCallLater setChildIndex timerLoop timerOnce instantiate load Constructors constructor new SpotLight(): SpotLight Overrides LightSprite.cons...

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

19. laya.d3.core.MeshTerrainSprite3D_API3.0 [ 61%]

...fAllCaller on onAfterDeserialize onAwake onDestroy onDisable onEnable once removeChild removeChildAt removeChildByName removeChildren removeInputChild removeSelf replaceChild runCallLater setChildIndex timerLoop timerOnce createFromMesh createFromMeshAndHeightMap instantiate load Constructors constr...

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

20. laya.d3.core.light.DirectionLight_API3.0 [ 61%]

...fAllCaller on onAfterDeserialize onAwake onDestroy onDisable onEnable once removeChild removeChildAt removeChildByName removeChildren removeSelf replaceChild runCallLater setChildIndex timerLoop timerOnce instantiate load Constructors constructor new DirectionLight(): DirectionLight Overrides LightS...

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