AuxSceneData
from panda3d.core import AuxSceneData
- class AuxSceneData
Bases:
Bases:
TypedReferenceCountThis 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__(param0: AuxSceneData)
- static getClassType() TypeHandle
- getDuration() float
Returns the minimum length in time, in seconds, to keep this
AuxSceneDataobject around in the scene graph after the last time it was rendered.
- getExpirationTime() float
Returns the frame_time at which this
AuxSceneDataobject is currently scheduled to be removed from the scene graph.
- getLastRenderTime() float
Returns the last time this object was used during traversal (according to
setLastRenderTime()).
- setDuration(duration: float)
Specifies the minimum length in time, in seconds, to keep this
AuxSceneDataobject around in the scene graph after the last time it was rendered.
- setLastRenderTime(render_time: float)
Should be called with the current frame_time each time the
AuxSceneDatais used during traversal.
