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. |