# GetMatrix(TransformPlane)

> Calculate a rotation Matrix4x4 using the specified transform plane.

## Definition

* **Type:** Method
* **Namespace:** [Unity.U2D.Physics](/engine/6000.5/script-reference/unity/u2d/physics.md)
* **Assembly:** UnityEngine.PhysicsCore2DModule

```csharp
public readonly Matrix4x4 GetMatrix(PhysicsWorld.TransformPlane transformPlane)
```

### Parameters

**** (\[TransformPlane]\(/engine/6000.5/script-reference/unity/u2d/physics/physicsworld/transformplane)): The transform plane to use.

### Returns

| Type                                                                  | Description          |
| --------------------------------------------------------------------- | -------------------- |
| [Matrix4x4](/engine/6000.5/script-reference/unityengine/matrix4x4.md) | The rotation matrix. |
