Layer:getOrientation

Edit

Returns the orientation of the layer.

angle, ax, ay, az = Layer:getOrientation()

Arguments

None

Returns

NameTypeDescription
anglenumber The amount of rotation around the axis of rotation, in radians.
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