[]
Creates a translation matrix using the specified offsets.
public static Matrix4x4 Translation(Vector3 value)
| Type | Name | Description |
|---|---|---|
| Vector3 | value | The amount to translate in each axis. |
| Type | Description |
|---|---|
| Matrix4x4 | The created translation matrix. |
Creates a translation matrix using the specified offsets.
public static Matrix4x4 Translation(float x, float y, float z)
| Type | Name | Description |
|---|---|---|
| float | x | X-coordinate offset. |
| float | y | Y-coordinate offset. |
| float | z | Z-coordinate offset. |
| Type | Description |
|---|---|
| Matrix4x4 | The created translation matrix. |