Sets the viewpoint rotation with quat parameters
| <viewpoint>.setQuat( | |
| [x,y,z,w] | |
| mask = viz.HEAD_ORI | # Positional argument |
| mode = viz.ABS_PARENT | # Positional argument |
)
[x,y,z,w]
Quaternion rotation
mask = viz.HEAD_ORI
This tells which transform to apply the rotation to. This can be either viz.HEAD_ORI or viz.BODY_ORI
mode = viz.ABS_PARENT
Can be one of the following:
Transform modes |
|
viz.ABS_PARENT |
Perform the transformation absolutely in world coordinates. |
viz.REL_LOCAL |
Perform the transformation relative to the local coordinate system. |
viz.REL_PARENT |
Perform the transformation relatively in world coordinates. |
Sets the viewpoint rotation with quat parameters.
None
<viewpoint>.setAxisAngle
<viewpoint>.setEuler
<viewpoint>.setMatrix