大约有 15 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0032 秒)
...nter(collision: Collision): void Defined in laya/components/Script.ts:73 3D物理碰撞器事件(不适用2D),开始碰撞时执行 Parameters collision: Collision Returns void Optional onCollisionExit onCollisionExit(collision: Collision): void Defined in laya/components/Script.ts:83 3D物理...
来源: Laya3.0_api 发布时间: 20231115
...n(q: Quaternion): void Defined in laya/d3/physics/Rigidbody3D.ts:422 设置物理旋转 Returns Quaternion Defined in laya/d3/physics/Rigidbody3D.ts:416 设置物理旋转 Parameters q: Quaternion Returns void overrideGravity get overrideGravity(): boolean set overrideGravity(value: boolean): void D...
来源: Laya3.0_api 发布时间: 20231115
...s get enablePhysics(): any Defined in Laya3D.ts:82 获取是否可以启用物理。 Returns any Methods Static createRenderObjInit createRenderObjInit(): void Defined in Laya3D.ts:249 Returns void Static init init(width: number, height: number, config?: any, complete?: Handler): void Defined in Lay...
来源: Laya3.0_api 发布时间: 20231115
...ISION_ENTER: string = "collisionenter" Defined in laya/events/Event.ts:147 物理碰撞开始 Static COLLISION_EXIT COLLISION_EXIT: string = "collisionexit" Defined in laya/events/Event.ts:151 物理碰撞结束 Static COLLISION_STAY COLLISION_STAY: string = "collisionstay" Defined in laya/events/Ev...
来源: Laya3.0_api 发布时间: 20231115
...ation" PhysicsSimulation Class PhysicsSimulation Simulation 类用于创建物理模拟器。 Hierarchy PhysicsSimulation Index Properties dt fixedTimeStep maxSubSteps disableSimulation Accessors continuousCollisionDetection gravity Methods addConstraint addVehicle clearForces createRaycastVehicle d...
来源: Laya3.0_api 发布时间: 20231115
...onent Class PhysicsTriggerComponent PhysicsTriggerComponent 类用于创建物理触发器组件。 Hierarchy PhysicsComponent PhysicsTriggerComponent PhysicsCollider Rigidbody3D Index Constructors constructor Properties _extra _singleton canScaleShape owner runInEditor scriptPath Accessors awaked c...
来源: Laya3.0_api 发布时间: 20231115
...csMemory defaultPhysicsMemory: number = 16 Defined in Config3D.ts:35 默认物理功能初始化内存,单位为M。 Static enableDynamicBatch enableDynamicBatch: boolean = true Defined in Config3D.ts:11 控制是否动态合并 Static enableMultiLight enableMultiLight: boolean = true Defined in C...
来源: Laya3.0_api 发布时间: 20231115
...hysicsOrientation Defined in laya/d3/physics/PhysicsComponent.ts:448 获得物理四元数 Returns Quaternion getPhysicsPosition getPhysicsPosition(): Vector3 Inherited from PhysicsTriggerComponent.getPhysicsPosition Defined in laya/d3/physics/PhysicsComponent.ts:432 获得物理位置 Returns Vecto...
来源: Laya3.0_api 发布时间: 20231115
...on Defined in laya/d3/physics/constraints/ConstraintComponent.ts:310 获取物理世界。 缺省的是从所属的scene3d取,子类可以提供另外的方法 Returns PhysicsSimulation getcurrentForce getcurrentForce(out: Vector3): void Defined in laya/d3/physics/constraints/ConstraintComponent.t...
来源: Laya3.0_api 发布时间: 20231115
...on Defined in laya/d3/physics/constraints/ConstraintComponent.ts:310 获取物理世界。 缺省的是从所属的scene3d取,子类可以提供另外的方法 Returns PhysicsSimulation getcurrentForce getcurrentForce(out: Vector3): void Inherited from ConstraintComponent.getcurrentForce Defined i...
来源: Laya3.0_api 发布时间: 20231115