大约有 2,830 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0329 秒)
Laya_社区(1670) Laya3.0_api(668) Laya2.0_文档(133) Laya2.0_api(128) laya_api(122) Laya3.0_文档(82) Laya2.0_示例(16) Laya_示例(11)
...:126 世界矩阵是否需要更新。 Returns boolean Methods event event(type: string, data?: any): boolean Inherited from EventDispatcher.event Defined in laya/events/EventDispatcher.ts:32 派发事件。 Parameters type: string 事件类型。 Optional data: any (可选)回调数据。注意...
来源: Laya3.0_api 发布时间: 20231115
...t** - 1.创建两个刚体,创建约束,为约束绑定两个刚体 ```typescript var boxA:MeshSprite3D = this.addRigidBodySphere(new Vector3(7, 3, 0),1); var boxARigid:Rigidbody3D = boxA.getComponent(Rigidbody3D); boxARigid.overrideGravity = true; boxARigid.isKinematic = true; var boxB:MeshSpri...
来源: Laya2.0_文档 发布时间: 20210714
...ited Public Methods Show Inherited Public Methods MethodDefined By event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher hasListener(type:String):Boolean 检查 EventDispatcher 对象是否为特定事件类型注册了任何侦听器。 EventDispatcher isMouseEvent(type:Stri...
来源: Laya2.0_api 发布时间: 20190513
...t** - 1.创建两个刚体,创建约束,为约束绑定两个刚体 ```typescript var boxA:MeshSprite3D = this.addRigidBodySphere(new Vector3(7, 3, 0),1); var boxARigid:Rigidbody3D = boxA.getComponent(Rigidbody3D); boxARigid.overrideGravity = true; boxARigid.isKinematic = true; var boxB:MeshSpri...
来源: Laya2.0_文档 发布时间: 20210715
...s:243 销毁资源,销毁后资源不能恢复。 Returns void event event(type: string, data?: any): boolean Inherited from EventDispatcher.event Defined in laya/events/EventDispatcher.ts:32 派发事件。 Parameters type: string 事件类型。 Optional data: any (可选)回调数据。注意...
来源: Laya3.0_api 发布时间: 20231102
...PEORIENTATION_UPY SHAPEORIENTATION_UPZ Accessors localOffset localRotation type Methods clone cloneTo destroy updateLocalTransformations Constructors constructor new CannonColliderShape(): CannonColliderShape Defined in laya/d3/physicsCannon/shape/CannonColliderShape.ts:138 创建一个新的 Collid...
来源: Laya3.0_api 发布时间: 20231102
...t3D, transfrom:Transform3D):void[override] ShurikenParticleRenderer event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher hasListener(type:String):Boolean 检查 EventDispatcher 对象是否为特定事件类型注册了任何侦听器。 EventDispatcher isMouseEvent(type:Stri...
来源: Laya2.0_api 发布时间: 20190513
...s:235 销毁资源,销毁后资源不能恢复。 Returns void event event(type: string, data?: any): boolean Inherited from EventDispatcher.event Defined in laya/events/EventDispatcher.ts:32 派发事件。 Parameters type: string 事件类型。 Optional data: any (可选)回调数据。注意...
来源: Laya3.0_api 发布时间: 20231115
模板@prop如何使用枚举 /** @prop {name:editOptionType, tips:"", type:EditOption, option:"aaa,bbb,true", default:"bbb"}*/ public editOptionType:string = "bbb";这样使用字符串是可以的,但是我现在需要显示自己定义的枚举 enum ENUM_Effect{ null=0, popupEffect = 1, closeE...
来源: Laya_社区 发布时间: 20191029
...PEORIENTATION_UPY SHAPEORIENTATION_UPZ Accessors localOffset localRotation type Methods clone cloneTo destroy updateLocalTransformations Constructors constructor new ColliderShape(): ColliderShape Defined in laya/d3/physics/shape/ColliderShape.ts:148 创建一个新的 ColliderShape 实例。 Return...
来源: Laya3.0_api 发布时间: 20231115