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 |
) |
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. |