DataSourceClock

new Cesium.DataSourceClock()

Represents desired clock settings for a particular DataSource. These settings may be applied to the Clock when the DataSource is loaded.

Members

Gets or sets the desired clock range setting. See Clock#clockRange.
Gets or sets the desired clock step setting. See Clock#clockStep.
Gets or sets the desired current time when this data source is loaded. See Clock#currentTime.

readonly definitionChanged : Event

Gets the event that is raised whenever a new property is assigned.

multiplier : Number

Gets or sets the desired clock multiplier. See Clock#multiplier.
Gets or sets the desired start time of the clock. See Clock#startTime.
Gets or sets the desired stop time of the clock. See Clock#stopTime.

Methods

Duplicates a DataSourceClock instance.
Name Type Description
result DataSourceClock optional The object onto which to store the result.
Returns:
The modified result parameter or a new instance if one was not provided.

equals(other)Boolean

Returns true if this DataSourceClock is equivalent to the other
Name Type Description
other DataSourceClock The other DataSourceClock to compare to.
Returns:
true if the DataSourceClocks are equal; otherwise, false.
Gets the value of this clock instance as a Clock object.
Returns:
The modified result parameter or a new instance if one was not provided.
Assigns each unassigned property on this object to the value of the same property on the provided source object.
Name Type Description
source DataSourceClock The object to be merged into this object.
Need help? The fastest way to get answers is from the community and team on the Cesium Forum.