Mat4:getPose

Edit

Returns the position and rotation of the matrix.

x, y, z, angle, ax, ay, az = Mat4:getPose()

Arguments

None

Returns

NameTypeDescription
xnumber The x translation.
ynumber The y translation.
znumber The z translation.
anglenumber The number of radians the matrix rotates around its rotation axis.
axnumber The x component of the axis of rotation.
aynumber The y component of the axis of rotation.
aznumber The z component of the axis of rotation.

See also