Get various scene statistics
| <scene>.getStats() |
This command will collect various statistics from the scene and return them through a viz.NodeStats object.
A viz.NodeStats object containing the following attributes:
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 |