struct in Unity.U2D.Physics
Implements interfaces:ISerializationCallbackReceiver
A transformation applied to the transform write if PhysicsWorld.transformPlane is set to PhysicsWorld.TransformPlane.Custom.
| Property | Description |
|---|---|
| fromCustom | Get the custom matrix defining how to transform from the custom world-space to the PhysicsWorld space. NOTE: This is the inverse of the PhysicsWorld.TransformPlaneCustom.toCustom matrix. |
| rotate | Get the custom rotation. |
| scale | Get the uniform scale. |
| toCustom | Get the custom matrix defining how to transform from PhysicsWorld space to the custom world-space. NOTE: This is the inverse of the PhysicsWorld.TransformPlaneCustom.fromCustom matrix. |
| translate | Get the custom translation. |
| Constructor | Description |
|---|---|
| PhysicsWorld.TransformPlaneCustom | Create a transform plane custom as identity. |
| Method | Description |
|---|---|
| FromPosition | Transform from a 3D custom world-space position back to a 2D PhysicsWorld position. |
| ToPosition | Transform a 2D PhysicsWorld position to a 3D custom world-space position. |