AuxSceneData

from panda3d.core import AuxSceneData
class AuxSceneData

Bases:

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

Inheritance diagram of AuxSceneData

__init__(param0: AuxSceneData)
static getClassType() TypeHandle
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 setLastRenderTime()).

output(out: ostream)
setDuration(duration: float)

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)

Should be called with the current frame_time each time the AuxSceneData is used during traversal.

write(out: ostream, indent_level: int)