Vec4:unpack

Returns the 4 components of the vector as numbers.

x, y, z, w = Vec4:unpack()

Arguments

None

Returns

NameTypeDescription
xnumber The x value.
ynumber The y value.
znumber The z value.
wnumber The w value.

See also