DynamicDirectionsProperty

DynamicDirectionsProperty

new

A dynamic property which maintains an array of directions that can change over time. The directions can be represented as both Cartesian and Spherical coordinates. 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.

See:
Source:

Methods

Retrieves the values at the supplied time as unit cartesian coordinates.

Parameters:
Name Type Description
time JulianDate The time for which to retrieve the value.
Returns:
An array of unit cartesian coordinates for the provided time.

Retrieves the values at the supplied time as Spherical coordinates.

Parameters:
Name Type Description
time JulianDate The time for which to retrieve the value.
Returns:
An array of spherical coordinates for the provided time.

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.
dynamicObjectCollection DynamicObjectCollection The DynamicObjectCollection to be used as a target for resolving links within this property.