Vec4:unpack

Returns the 4 components of the vector as numbers.

x, y, z = Vec4:unpack()

Arguments

None

Returns

NameTypeDescription
xnumberThe x value.
ynumberThe y value.
znumberThe z value.

See also