Mat4:unpack
EditReturns the components of matrix, either as 10 separated numbers representing the position, scale, and rotation, or as 16 raw numbers representing the individual components of the matrix in column-major order.
... = Mat4:unpack(raw)
Arguments
Name | Type | Default | Description |
raw | boolean | false | Whether to return the 16 raw components. |
Returns
Name | Type | Description |
... | number | The requested components of the matrix. |