Vizard 8 » Command Index » Vizard objects » node3d » <node3d>.setTransparentDrawOrder
8.1

<node3d>.setTransparentDrawOrder

Apply the default transparent draw order to node

<node3d>.setTransparentDrawOrder(  
node = ''  
op = viz.OP_DEFAULT  
)  
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 will set the draw order of the node to the default transparent draw order. Transparent objects with the same draw order will be rendered in back to front order.

The command is equivalent to the following code:

model.drawOrder(10,node,viz.BIN_TRANSPARENT,op)

Return Value

None

See also

<node3d>.drawOrder
<node3d>.setOpaqueDrawOrder