Set the cull mask
| <node3d:renderNode>.setCullMask( | |
| mask | |
| mode = viz.MASK_SET |
)
mask
The node mask
mode = viz.MASK_SET
Mode for specifying how to apply the mask. Can be one of the following:
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. |
The cull mask is used to control which nodes will be rendered by the node. When creating a custom cull mask, use the <viz>.addNodeMask command to ensure that your cull mask does not conflict with any masks used internally by Vizard.
None