Mat4:identity
EditResets the matrix to the identity, effectively setting its translation to zero, its scale to 1, and clearing any rotation.
m = Mat4:identity()
Arguments
None
Returns
Name | Type | Description |
m | Mat4 | The original matrix. |
See also
Pass:origin
Mat4