Sets the euler rotation of a node.
| <node3d>.setEuler( | |
| [yaw,pitch,roll] | |
| mode = viz.ABS_PARENT |
)
[yaw,pitch,roll]
The euler rotation
mode = viz.ABS_PARENT
Can be one of the following:
Transform modes |
|
viz.ABS_PARENT |
Perform the transformation absolutely in the parents coordinate system. |
viz.ABS_GLOBAL |
Perform the transformation absolutely in world coordinates. |
viz.REL_LOCAL |
Perform the transformation in the objects local coordinates system. |
viz.REL_PARENT |
Perform the transformation relatively in the parents coordinate system. |
viz.REL_GLOBAL |
Perform the transformation relatively in the global coordinate system. |
This command applies a rotation to the node in euler notation. Yaw specifies the rotation around the Y-axis. Pitch specifies the rotation around the X-axis. Roll specifies the rotation around the Z-axis. The rotations are in degrees and applied in the order specified. Vizard uses a left-handed coordinate system.
None
<node3d>.setAxisAngle
<node3d>.setMatrix
<node3d>.setQuat
<node3d>.lookAt