Vizard 8 » Command Index » Vizard objects » node3d » <node3d>.getQuat
8.0

<node3d>.getQuat

Returns quaternion rotation

<node3d>.getQuat(  
mode = viz.ABS_PARENT  
)  
mode = viz.ABS_PARENT
One of the following transform modes:

Transform modes

viz.ABS_PARENT
viz.REL_PARENT

Return the value in the parents coordinate system.

viz.ABS_GLOBAL
viz.REL_GLOBAL

Return the value in global coordinates.

Remarks

This command will return the quaternion rotation of the node.

Return Value

[x,y,z,w]