Vec4:unpack
Returns the 4 components of the vector as numbers.
x, y, z = Vec4:unpack()
Arguments
None
Returns
Name | Type | Description |
x | number | The x value. |
y | number | The y value. |
z | number | The z value. |
See also
Vec4:set
Vec4
Returns the 4 components of the vector as numbers.
x, y, z = Vec4:unpack()
None
Name | Type | Description |
x | number | The x value. |
y | number | The y value. |
z | number | The z value. |
Vec4:set
Vec4