Layer:setPose
EditSets the position and orientation of the layer.
Arguments
Name | Type | Description |
x | number | The x position. |
y | number | The y position. |
z | number | The z position. |
angle | number | The amount of rotation around the axis of rotation, in radians. |
ax | number | The x component of the axis of rotation. |
ay | number | The y component of the axis of rotation. |
az | number | The z component of the axis of rotation. |
Returns
Nothing
Arguments
Name | Type | Description |
position | Vec3 | The position of the layer. |
orientation | Quat | The orientation of the layer. |
Returns
Nothing
Notes
Units are in meters.