20 AuxSceneData(
double duration) :
22 _last_render_time(0.0)
50 _last_render_time = last_render_time;
59 return _last_render_time;
68 return _last_render_time + _duration;
72 operator << (std::ostream &out,
const AuxSceneData &data) {
This is a base class for a generic data structure that can be attached per- instance to the camera,...
double get_expiration_time() const
Returns the frame_time at which this AuxSceneData object is currently scheduled to be removed from th...
void set_duration(double duration)
Specifies the minimum length in time, in seconds, to keep this AuxSceneData object around in the scen...
double get_duration() const
Returns the minimum length in time, in seconds, to keep this AuxSceneData object around in the scene ...
double get_last_render_time() const
Returns the last time this object was used during traversal (according to set_last_render_time()).
void set_last_render_time(double render_time)
Should be called with the current frame_time each time the AuxSceneData is used during traversal.