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.
__init__(param0: AuxSceneData) → None¶
getDuration() → float¶
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() → float¶
Returns the frame_time at which this AuxSceneData object is currently scheduled to be removed from the scene graph.
getLastRenderTime() → float¶
Returns the last time this object was used during traversal (according to
output(out: ostream) → None¶
setDuration(duration: float) → None¶
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(render_time: float) → None¶
Should be called with the current frame_time each time the AuxSceneData is used during traversal.
write(out: ostream, indent_level: int) → None¶