DynamicClock

DynamicClock

new

Represents CZML document-level clock settings.

Source:

Members

:ClockRange

Determines how the clock should behave when startTime or stopTime is reached.
Default Value:

:ClockStep

Determines if clock advancement is frame dependent or system clock dependent.
Default Value:

:JulianDate

The initial time to use when switching to this clock.
Default Value:
  • Iso8601.MAXIMUM_INTERVAL.start

:Number

Determines how much time advances with each tick, negative values allow for advancing backwards. If clockStep is set to ClockStep.TICK_DEPENDENT this is the number of seconds to advance. If clockStep is set to ClockStep.SYSTEM_CLOCK_MULTIPLIER this value is multiplied by the elapsed system time since the last call to tick.
Default Value:
  • 1.0

:JulianDate

The start time of the clock to use when looping or clamped.
Default Value:
  • Iso8601.MAXIMUM_INTERVAL.start

:JulianDate

The stop time of the clock to use when looping or clamped.
Default Value:
  • Iso8601.MAXIMUM_INTERVAL.stop

Methods

Duplicates a DynamicClock instance.

Parameters:
Name Type Argument Description
result DynamicClock <optional>
The object onto which to store the result.
Returns:
DynamicClock The modified result parameter or a new DynamicClock instance if one was not provided.

<static>

Given two DynamicObjects, takes the clock properties from the second and assigns them to the first.

Parameters:
Name Type Description
targetObject DynamicObject The DynamicObject which will have properties merged onto it.
objectToMerge DynamicObject The DynamicObject containing properties to be merged.

<static>

Given a DynamicObject, undefines the clock associated with it.

Parameters:
Name Type Description
dynamicObject DynamicObject The DynamicObject to remove the clock from.