[]
Creates a world matrix with the specified parameters.
public static void WorldRef(out Matrix4x4 result, ref Vector3 position, ref Vector3 forward, ref Vector3 up)
Public Shared Sub WorldRef(ByRef result As Matrix4x4, ByRef position As Vector3, ByRef forward As Vector3, ByRef up As Vector3)
| Type | Name | Description |
|---|---|---|
| Matrix4x4 | result | The world matrix. |
| Vector3 | position | The position of the object (used in translation operations). |
| Vector3 | forward | The forward direction of the object. |
| Vector3 | up | The upward direction of the object. Its value is usually [0, 1, 0]. |