GetMatrix(TransformPlane)
Calculate a rotation Matrix4x4 using the specified transform plane.
Read time 1 minuteLast updated 12 days ago
Definition
- Type: Method
- Namespace: Unity.U2D.Physics
- Assembly: UnityEngine.PhysicsCore2DModule
public readonly Matrix4x4 GetMatrix(PhysicsWorld.TransformPlane transformPlane)
Parameters
The transform plane to use.
Returns
Type | Description |
|---|---|
| Matrix4x4 | The rotation matrix. |