Mat4:setPosition
EditSets the translation of the matrix, without changing its rotation or scale.
Arguments
| Name | Type | Description |
| x | number | The x translation. |
| y | number | The y translation. |
| z | number | The z translation. |
Returns
| Name | Type | Description |
| self | Mat4 | The modified input matrix. |
Arguments
| Name | Type | Description |
| position | vector | The new position. |
Returns
| Name | Type | Description |
| self | Mat4 | The modified input matrix. |