3.15. Scene Schedule

<scene_schedule> ‐ The initial time offset

3.15.1. Attributes

NameTypeDefaults
initial_timeFLOAT600.0
time_stepFLOAT0.0
real_timeBOOLEANfalse

3.15.2. Description

This element defines the initial clock time and its evolution.

The float value of the initial_time attribute defines the time value when scene rendering is launched. The float value of the time_step attribute defines the multiplicative factor of time increment at each frame. A value of 0.004 at 25 fps will make internal time approximately equal to real time (in seconds). If the boolean value of the real_time attribute is true, the time is given by the processor clock. In this case, the float value of the time_step attribute has no effect on time computation.

3.15.3. Expected content

None.

3.15.4. Example

The example below defines an initial clock time of -35.0, an internal time incremented at each frame, and and a multiplicative factor equal to 10.2 for time increment:

<scene_schedule initial_time="-35" 
         time_step_expansion="10.2" real_time="false" />