SceneGraphAnalyzer
from panda3d.core import SceneGraphAnalyzer
- class SceneGraphAnalyzer
Bases:
DTOOL_SUPER_BASE
A handy class that can scrub over a scene graph and collect interesting statistics on it.
Inheritance diagram
- LMAll = 2
- LMHighest = 1
- LMLowest = 0
- LMNone = 3
- LM_all = 2
- LM_highest = 1
- LM_lowest = 0
- LM_none = 3
- __init__(*args, **kwargs)
- addNode()
C++ Interface: add_node(const SceneGraphAnalyzer self, PandaNode node)
- /**
Adds a new node to the set of data for analysis. Normally, this would only
be called once, and passed the top of the scene graph, but it’s possible to
repeatedly pass in subgraphs to get an analysis of all the graphs together.
*/
- add_node()
C++ Interface: add_node(const SceneGraphAnalyzer self, PandaNode node)
- /**
Adds a new node to the set of data for analysis. Normally, this would only
be called once, and passed the top of the scene graph, but it’s possible to
repeatedly pass in subgraphs to get an analysis of all the graphs together.
*/
- clear()
C++ Interface: clear(const SceneGraphAnalyzer self)
- /**
Resets all of the data in the analyzer in preparation for a new run.
*/
- getLodMode()
C++ Interface: get_lod_mode(SceneGraphAnalyzer self, int lod_mode)
- /**
Returns the mode in which LODNodes are analyzed.
*/
- getNumGeomVertexFormats()
C++ Interface: get_num_geom_vertex_formats(SceneGraphAnalyzer self)
- /**
*/
- getNumTrianglesInStrips()
C++ Interface: get_num_triangles_in_strips(SceneGraphAnalyzer self)
- /**
*/
- getNumVerticesInPatches()
C++ Interface: get_num_vertices_in_patches(SceneGraphAnalyzer self)
- /**
*/
- get_lod_mode()
C++ Interface: get_lod_mode(SceneGraphAnalyzer self, int lod_mode)
- /**
Returns the mode in which LODNodes are analyzed.
*/
- get_num_geom_vertex_datas()
C++ Interface: get_num_geom_vertex_datas(SceneGraphAnalyzer self)
- /**
*/
- get_num_geom_vertex_formats()
C++ Interface: get_num_geom_vertex_formats(SceneGraphAnalyzer self)
- /**
*/
- get_num_nodes_with_attribs()
C++ Interface: get_num_nodes_with_attribs(SceneGraphAnalyzer self)
- /**
*/
- get_num_triangles_in_fans()
C++ Interface: get_num_triangles_in_fans(SceneGraphAnalyzer self)
- /**
*/
- get_num_triangles_in_strips()
C++ Interface: get_num_triangles_in_strips(SceneGraphAnalyzer self)
- /**
*/
- get_num_vertices_in_patches()
C++ Interface: get_num_vertices_in_patches(SceneGraphAnalyzer self)
- /**
*/
- setLodMode()
C++ Interface: set_lod_mode(const SceneGraphAnalyzer self, int lod_mode)
- /**
Specifies the mode in which LODNodes are analyzed.
*/