Apply a clip plane to the node
<node3d>.clipPlane( | |
plane | |
num = 0 | |
mode = viz.CLIP_GLOBAL | |
node = '' | |
op = viz.OP_DEFAULT | |
) |
Mode | Description |
viz.CLIP_GLOBAL | The clip plane is applied in the global coordinate system. |
viz.CLIP_LOCAL | The clip plane is applied in the local coordinate system of the node it is applied to. |
viz.CLIP_VIEW | The clip plane is relative to the view, before any stereo/view offsets are applied. |
viz.CLIP_EYE | The clip plane relative to the eye, after all stereo/view offsets are applied. |
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. |