Get various node statistics
<node3d>.getStats( | |
node = '' | |
op = viz.OP_DEFAULT | |
) |
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. |
Attribute | Description |
vertexCount | The number of vertices encountered |
primitiveCount | The number of primitives (triangles, polygons, lines, points) encountered |
drawableCount | The number of drawables encountered |
transformCount | The number of transform nodes encountered |
nodeCount | The number of nodes encountered |
textureCount | The number of unique textures encountered |
textureBytes | Total memory usage of all unique textures, in bytes |