DynamicProperty

DynamicProperty

new

DynamicProperty represents a single value that changes over time. Rather than creating instances of this object directly, it's typically created and managed via loading CZML data into a DynamicObjectCollection. Instances of this type are exposed via DynamicObject and it's sub-objects and are responsible for interpreting and interpolating the data for visualization.

The type of value exposed by this property must be provided during construction by passing in an object which performs all the necessary operations needed to properly store, retrieve, and interpolate the data. For more specialized needs other types of dynamic properties exist, such as DynamicMaterialProperty, which as the name implies, handles materials.

Parameters:
Name Type Description
valueType Object A CZML type object which contains the methods needed to interpret and interpolate CZML data of the same type.
See:
Source:

Methods

Returns the value of the property at the specified time.

Parameters:
Name Type Argument Description
time JulianDate The time for which to retrieve the value.
result Object <optional>
The object to store the value into, if omitted, a new instance is created and returned.
Returns:
The modified result parameter or a new instance if the result parameter was not supplied.

Processes the provided CZML interval or intervals into this property.

Parameters:
Name Type Argument Description
czmlIntervals Object The CZML data to process.
constrainedInterval TimeInterval <optional>
Constrains the processing so that any times outside of this interval are ignored.
sourceUri String <optional>
The originating url of the CZML being processed.