from panda3d.core import SceneGraphAnalyzer
- class SceneGraphAnalyzer
A handy class that can scrub over a scene graph and collect interesting statistics on it.
enumerator LM_lowest = 0
enumerator LM_highest = 1
enumerator LM_all = 2
enumerator LM_none = 3
- enumerator LM_lowest = 0
- __init__(param0: SceneGraphAnalyzer)
- add_node(node: PandaNode)
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.
Resets all of the data in the analyzer in preparation for a new run.
- enum LodMode