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

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

21. laya.d3.physics.PhysicsCollider_API3.0 [ 78%]

... Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 Optional runInEditor runInEditor: boolean Inherited from Component.runInEditor Defined in laya/components/Component.ts:34 是否可以在IDE环境中运行 Optional scriptPath scriptPath: string Inhe...

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

22. laya.d3.physicscannon.CannonPhysicsComponent_API3.0 [ 78%]

... Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 Optional runInEditor runInEditor: boolean Inherited from Component.runInEditor Defined in laya/components/Component.ts:34 是否可以在IDE环境中运行 Optional scriptPath scriptPath: string Inhe...

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

23. 实体组件系统 · LayaAir3.3 · 引擎文档 · LAYABOX [ 77%]

...添加到舞台后,可在此方法中进行一些初始化的操作,如获取组件引用、设置初始状态等。onDestroy方法在游戏对象被销毁时调用,可在此方法中释放游戏对象所占用的资源,如内存、纹理等,以避免内存泄漏和资源浪费。通过合...

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

24. laya.d3.physicscannon.CannonPhysicsTriggerComponent_API3.0 [ 76%]

... Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 Optional runInEditor runInEditor: boolean Inherited from Component.runInEditor Defined in laya/components/Component.ts:34 是否可以在IDE环境中运行 Optional scriptPath scriptPath: string Inhe...

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

25. laya.d3.core.MeshFilter [ 76%]

...格过滤器。 Public Properties PropertyDefined By  sharedMesh : Mesh 获取共享网格。 MeshFilterPublic Methods  MethodDefined By  MeshFilter(owner:RenderableSprite3D) 创建一个新的 MeshFilter 实例。 MeshFilter  destroy():void MeshFilterProperty DetailsharedMeshpropertysharedM...

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

26. laya.d3.physicscannon.CannonPhysicsCollider_API3.0 [ 76%]

... Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 Optional runInEditor runInEditor: boolean Inherited from Component.runInEditor Defined in laya/components/Component.ts:34 是否可以在IDE环境中运行 Optional scriptPath scriptPath: string Inhe...

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

27. laya.physics.joint.JointBase [ 75%]

...ited Public Properties PropertyDefined By destroyed : Boolean[read-only] 获取是否已经销毁 。 Component enabled : Boolean 获取是否启用组件。 Component id : int[read-only] 获取唯一标识ID。 Component isSingleton : Boolean[read-only] 获取是否为单实例组件。 Compon...

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

28. laya.d3.physics.constraints.ConstraintComponent [ 74%]

...ublic Properties PropertyDefined By  appliedImpulse : Number[read-only] 获取应用的冲力。 ConstraintComponent  breakingImpulseThreshold : Number 获取打破冲力阈值。 ConstraintComponent  connectedBody : Rigidbody3D 获取已连接的刚体。 ConstraintComponent destroyed : Boo...

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

29. laya.d3.component.Script [ 72%]

...ited Public Properties PropertyDefined By destroyed : Boolean[read-only] 获取是否已销毁。 Component3D enable : Boolean 获取是否启用。 Component3D id : int[read-only] 获取唯一标识ID。 Component3D  isSingleton : Boolean[override] [read-only] 获取是否为单实例组件...

来源: laya_api 发布时间: 20170929

30. 批量销毁释放内存(JavaScript-3D基础(JS)-LayaAir3D的内存管理) [ 72%]

...残留下的资源需要分别使用`Laya.loader.getRes(url:String)`接口获取到资源(Resource)对象之后,再调用资源对象的`destroy()`方法进行销毁。但是这种方法是非常麻烦的。LayaAir2.0为了方便开发者,提供了`Resource.destroyUnusedResources()`接口统...

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