Vizard 7 » Command Index » Vizard objects » node3d » <node3d>.polyMode
7.7

<node3d>.polyMode

Specifies how the polygons of a node will be rendered

<node3d>.polyMode(  
mode  
node = ''  
op = viz.OP_DEFAULT  
)  
mode
Polygon rendering mode. Can be one of the following values:

Polygon modes

viz.POLY_FILL

Render filled polygons (default)

viz.POLY_WIRE

Render polygons in wireframe

viz.POLY_POINT

Render polygon vertices as points

node = ''
Name of sub-node to apply changes to
op = viz.OP_DEFAULT
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.

Remarks

This command specifies how the polygons of a node will be rendered.

Return Value

None

See also

<node3d>.lineWidth
<node3d>.pointSize