大约有 6 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0023 秒)
...ysics.I.worldRoot=场景,然后移动场景即可 可以通过IDE-"项目设置" 开启物理辅助线显示,或者通过代码PhysicsDebugDraw.enable(); Hierarchy Component RigidBody Index Constructors constructor Properties _extra _singleton category group label mask owner runInEditor scriptPa...
来源: Laya3.0_api 发布时间: 20231115
...ics.ts:14 2D游戏默认单位为像素,物理默认单位为米,此值设置了像素和米的转换比率,默认50像素=1米 Accessors allowSleeping get allowSleeping(): boolean set allowSleeping(value: boolean): void Defined in laya/physics/Physics.ts:195 设置是否允许休眠,休眠...
来源: Laya3.0_api 发布时间: 20231115
...ntation(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): ...
来源: Laya3.0_api 发布时间: 20231115
...g(flag?: number): void Defined in laya/d3/physics/PhysicsSimulation.ts:677 设置射线检测回调 Parameters Default value flag: number = 1 Returns void shapeCast shapeCast(shape: ColliderShape, fromPosition: Vector3, toPosition: Vector3, out?: HitResult, fromRotation?: Quaternion, toRotation?: Qu...
来源: Laya3.0_api 发布时间: 20231115
...e/particleShuriKen/ShurikenParticleSystem.ts:308 随机种子,注:play()前设置有效。 randomizeRotationDirection randomizeRotationDirection: number = 0 Defined in laya/d3/core/particleShuriKen/ShurikenParticleSystem.ts:285 随机旋转方向,范围为0.0到1.0 scaleMode scaleMode: number = 1 ...
来源: Laya3.0_api 发布时间: 20231115
...e/particleShuriKen/ShurikenParticleSystem.ts:308 随机种子,注:play()前设置有效。 randomizeRotationDirection randomizeRotationDirection: number = 0 Inherited from ShurikenParticleSystem.randomizeRotationDirection Defined in laya/d3/core/particleShuriKen/ShurikenParticleSystem.ts:285 随机...
来源: Laya3.0_api 发布时间: 20231115