Sets the position of the viewpoint.
| <viewpoint>.setPosition( | |
| [x,y,z] | |
| mode = viz.ABS_PARENT | # Positional argument |
)
[x,y,z]
The [x,y,z] position to translate
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. |
Use this action to translate a viewpoint.
None