Set the order in which the object will be drawn
<node3d>.drawOrder( | |
order | |
node = '' | |
bin = viz.BIN_OPAQUE | |
op = viz.OP_DEFAULT | |
) |
Bin modes | |
viz.BIN_OPAQUE | Place the object into the default opaque bin. Objects in this bin will be sorted by material. |
viz.BIN_TRANSPARENT | Place the object into the depth-sorted draw order bin. This ensures correct ordering for objects with transparency. |
viz.BIN_BACK_TO_FRONT | Objects in this bin will be rendered from furthest to closest to the camera. |
viz.BIN_FRONT_TO_BACK | Objects in this bin will be rendered from closest to furthest to the camera. |
viz.BIN_TRAVERSAL_ORDER | Objects in this bin will be rendered in the order they appear in the scene graph. |
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. |