AuxSceneData
from panda3d.core import AuxSceneData
- class AuxSceneData
Bases:
TypedReferenceCount
This is a base class for a generic data structure that can be attached per- instance to the camera, to store per-instance data that must be preserved over multiple frames.
In particular, this is used to implement the FadeLODNode, which must remember during traversal at what point it is in the fade, separately for each instance and for each camera.
Inheritance diagram
- __init__(*args, **kwargs)
- getClassType()
C++ Interface: get_class_type()
- getDuration()
C++ Interface: get_duration(AuxSceneData self)
- /**
Returns the minimum length in time, in seconds, to keep this AuxSceneData
object around in the scene graph after the last time it was rendered.
*/
- getExpirationTime()
C++ Interface: get_expiration_time(AuxSceneData self)
- /**
Returns the frame_time at which this AuxSceneData object is currently
scheduled to be removed from the scene graph.
*/
- getLastRenderTime()
C++ Interface: get_last_render_time(AuxSceneData self)
- /**
Returns the last time this object was used during traversal (according to
set_last_render_time()).
*/
- get_class_type()
C++ Interface: get_class_type()
- get_duration()
C++ Interface: get_duration(AuxSceneData self)
- /**
Returns the minimum length in time, in seconds, to keep this AuxSceneData
object around in the scene graph after the last time it was rendered.
*/
- get_expiration_time()
C++ Interface: get_expiration_time(AuxSceneData self)
- /**
Returns the frame_time at which this AuxSceneData object is currently
scheduled to be removed from the scene graph.
*/
- get_last_render_time()
C++ Interface: get_last_render_time(AuxSceneData self)
- /**
Returns the last time this object was used during traversal (according to
set_last_render_time()).
*/
- setDuration()
C++ Interface: set_duration(const AuxSceneData self, double duration)
- /**
Specifies the minimum length in time, in seconds, to keep this AuxSceneData
object around in the scene graph after the last time it was rendered.
*/
- setLastRenderTime()
C++ Interface: set_last_render_time(const AuxSceneData self, double render_time)
- /**
Should be called with the current frame_time each time the AuxSceneData is
used during traversal.
*/
- set_duration()
C++ Interface: set_duration(const AuxSceneData self, double duration)
- /**
Specifies the minimum length in time, in seconds, to keep this AuxSceneData
object around in the scene graph after the last time it was rendered.
*/