Vizard 7 » Command Index » Vizard objects » node3d » <node3d>.getPosition
7.7

<node3d>.getPosition

Returns position

<node3d>.getPosition(  
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 position of the node.

Return Value

[x,y,z]