Layer:setPose

Edit

Sets the position and orientation of the layer.



Arguments

NameTypeDescription
xnumber The x position.
ynumber The y position.
znumber The z position.
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.

Returns

Nothing

Arguments

NameTypeDescription
positionVec3 The position of the layer.
orientationQuat The orientation of the layer.

Returns

Nothing

Notes

Units are in meters.

See also