Set transform matrix of viewpoint
| <viewpoint>.setMatrix( | |
| matrix | |
| mask = viz.HEAD_ORI | |
| mode = viz.ABS_PARENT |
)
matrix
This can be a list of 16 numbers representing a 4x4 matrix or a <vizmat>.Transform object.
mask = viz.HEAD_ORI
Which orientation to apply the matrix to. Can be either viz.HEAD_ORI (default) 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. |
This will set the transformation matrix of the viewpoint to the given 4x4 matrix
None
<viewpoint>.setAxisAngle
<viewpoint>.setEuler
<viewpoint>.setQuat
<viewpoint>.setPosition