Set default scengraph operation mode of node
| <node3d>.setOpMode( | |
| mode |
)
mode
Can be viz.OP_DEFAULT to use the nodes default op mode or a combination of the following values:
Op modes |
|
viz.OP_TRAVERSE |
When performing an operation on a node, traverse the entire subgraph and process all subnodes as well. This is the default value. |
viz.OP_OVERRIDE |
When applying attributes, have them override attributes of subnodes. |
viz.OP_ROOT |
When performing an operation on the node, start at the root transform of the node, instead of the model. Processing the root will include all child Vizard nodes. |
This command will set 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.
None