PhysicsWorld.TransformPlane
Defines the 2D Transform plane where Transform writes will occur. This also defines the rotation axis which will automatically be perpendicular to the selected plane. See PhysicsWorld.transformPlane.
읽는 시간 1분최근 업데이트: 21일 전
Definition
- Type: Enum
- Namespace: Unity.U2D.Physics
- Assembly: UnityEngine.PhysicsCore2DModule
public enum PhysicsWorld.TransformPlane
Fields
Value | Description |
|---|---|
| Custom | Use the assigned PhysicsWorld.transformPlaneCustom to allow transformation writing and reading to/from a custom 2D plane. |
| XY | XY plane with anti-clockwise Z rotation. |
| XZ | XZ plane with anti-clockwise Y rotation. |
| ZY | ZY plane with anti-clockwise X rotation. |