Set the node mask
<node3d>.setMask( | |
mask | |
node = '' | |
mode = viz.MASK_SET | |
op = viz.OP_DEFAULT | |
) |
Mask modes | |
viz.MASK_SET | Set the mask to the new value. |
viz.MASK_ADD | Add the value to the existing mask. |
viz.MASK_REMOVE | Remove the value from the existing mask. |
viz.MASK_TOGGLE | Toggle the value with the existing mask. |
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. |