Set the window cull mask
<window>.setCullMask( | |
mask | |
eye = viz.BOTH_EYE | |
mode = viz.MASK_SET | |
) |
Eye values | |
viz.BOTH_EYE | The cull mask will be used when rendering in non-stereo mode. |
viz.LEFT_EYE | The cull mask will be used when rendering the left eye in stereo mode. |
viz.RIGHT_EYE | The cull mask will be used when rendering the right eye in stereo mode. |
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. |