Vizard 8 » Command Index » Vizard objects » node3d » <node3d>.getOpMode
8.1

<node3d>.getOpMode

Get default scengraph operation mode of node

<node3d>.getOpMode()  

Remarks

This command will return the default operation mode for scene graph related commands when viz.OP_DEFAULT is used. When a node is created it will initialize its operation mode to the value of the viz.node.op_mode option. The default value of the option is viz.OP_TRAVERSE.

Return Value

A combination of the following values:

viz.OP_TRAVERSE
viz.OP_OVERRIDE
viz.OP_ROOT