DynamicClock

DynamicClock

new

Represents CZML document-level clock settings.

Source:

Members

:ClockRange

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

:ClockStep

Determines if clock advancement is frame dependent or system clock dependent.

:JulianDate

The initial time to use when switching to this clock.

: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.

:JulianDate

The start time of the clock to use when looping or clamped.

:JulianDate

The stop time of the clock to use when looping or clamped.

Methods

<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.
See:

<static>

Processes a single CZML packet and merges its data into the provided DynamicObject's clock.

Parameters:
Name Type Argument Description
dynamicObject DynamicObject The DynamicObject which will contain the clock data.
packet Object The CZML packet to process.
dynamicObjectCollection DynamicObjectCollection <optional>
The collection into which objects are being loaded.
sourceUri String <optional>
The originating url of the CZML being processed.
Returns:
Boolean true if any new properties were created while processing the packet, false otherwise.
See:

<static>

Given a DynamicObject, undefines the clock associated with it. This method is not normally called directly, but is part of the array of CZML processing functions that is passed into the CompositeDynamicObjectCollection constructor.

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