SceneGraphAnalyzerMeter
from panda3d.core import SceneGraphAnalyzerMeter
- class SceneGraphAnalyzerMeter
Bases:
TextNode
This is a special TextNode that automatically updates itself with output from a SceneGraphAnalyzer instance. It can be placed anywhere in the world where you’d like to see the output from SceneGraphAnalyzer.
It also has a special mode in which it may be attached directly to a channel or window. If this is done, it creates a DisplayRegion for itself and renders itself in the upper-right-hand corner.
Inheritance diagram
- __init__(*args, **kwargs)
- clearWindow()
C++ Interface: clear_window(const SceneGraphAnalyzerMeter self)
- /**
Undoes the effect of a previous call to setup_window().
*/
- clear_window()
C++ Interface: clear_window(const SceneGraphAnalyzerMeter self)
- /**
Undoes the effect of a previous call to setup_window().
*/
- getClassType()
C++ Interface: get_class_type()
- getDisplayRegion()
C++ Interface: get_display_region(SceneGraphAnalyzerMeter self)
- /**
Returns the DisplayRegion that the meter has created to render itself into
the window to setup_window(), or NULL if setup_window() has not been
called.
*/
- getNode()
C++ Interface: get_node(SceneGraphAnalyzerMeter self)
- /**
Returns the node to be analyzed.
*/
- getUpdateInterval()
C++ Interface: get_update_interval(SceneGraphAnalyzerMeter self)
- /**
Returns the number of seconds that will elapse between updates to the frame
rate indication.
*/
- getWindow()
C++ Interface: get_window(SceneGraphAnalyzerMeter self)
- /**
Returns the GraphicsOutput that was passed to setup_window(), or NULL if
setup_window() has not been called.
*/
- get_class_type()
C++ Interface: get_class_type()
- get_display_region()
C++ Interface: get_display_region(SceneGraphAnalyzerMeter self)
- /**
Returns the DisplayRegion that the meter has created to render itself into
the window to setup_window(), or NULL if setup_window() has not been
called.
*/
- get_node()
C++ Interface: get_node(SceneGraphAnalyzerMeter self)
- /**
Returns the node to be analyzed.
*/
- get_update_interval()
C++ Interface: get_update_interval(SceneGraphAnalyzerMeter self)
- /**
Returns the number of seconds that will elapse between updates to the frame
rate indication.
*/
- get_window()
C++ Interface: get_window(SceneGraphAnalyzerMeter self)
- /**
Returns the GraphicsOutput that was passed to setup_window(), or NULL if
setup_window() has not been called.
*/
- setNode()
C++ Interface: set_node(const SceneGraphAnalyzerMeter self, PandaNode node)
- /**
Sets the node to be analyzed.
*/
- setUpdateInterval()
C++ Interface: set_update_interval(const SceneGraphAnalyzerMeter self, double update_interval)
- /**
Specifies the number of seconds that should elapse between updates to the
meter. This should be reasonably slow (e.g. 0.5 to 2.0) so that the
calculation of the scene graph analysis does not itself dominate the frame
rate.
*/
- set_node()
C++ Interface: set_node(const SceneGraphAnalyzerMeter self, PandaNode node)
- /**
Sets the node to be analyzed.
*/
- set_update_interval()
C++ Interface: set_update_interval(const SceneGraphAnalyzerMeter self, double update_interval)
- /**
Specifies the number of seconds that should elapse between updates to the
meter. This should be reasonably slow (e.g. 0.5 to 2.0) so that the
calculation of the scene graph analysis does not itself dominate the frame
rate.
*/
- setupWindow()
C++ Interface: setup_window(const SceneGraphAnalyzerMeter self, GraphicsOutput window)
- /**
Sets up the frame rate meter to create a DisplayRegion to render itself
into the indicated window.
*/