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

clockRange : ClockRange

获取或设置想要的时钟范围设置 . See Clock#clockRange.

clockStep : ClockStep

获取或设置所期望的时钟阶梯设置 . See Clock#clockStep.

currentTime : JulianDate

当此数据源被装入时, 获取或设定想要的当前时间 . See Clock#currentTime.

readonly definitionChanged : Event

获取新属性分配时要提起的事件 .

multiplier : number

获取或设定想要的时钟乘数. See Clock#multiplier.

startTime : JulianDate

获得或设定所期望的时钟起始时间. See Clock#startTime.

stopTime : JulianDate

获取或设定钟的预期停机时间. See Clock#stopTime.

Methods

clone(result)DataSourceClock

复制数据源时钟实例 .
Name Type Description
result DataSourceClock optional 存储结果的对象 .
Returns:
未提供修改的结果参数或新实例 .

equals(other)boolean

如果数据源时钟与其它时钟相等, 返回真实值
Name Type Description
other DataSourceClock optional 另一个数据源时钟来比较.
Returns:
如果数据源时钟为等值,则使用 NT 0 true NT 1 ;否则, NT 2 false NT 3 .

getValue()Clock

Gets the value of this clock instance as a Clock object.
Returns:
未提供修改的结果参数或新实例 .

merge(source)

指定该对象上每个未指定属性的值 - 提供源对象上的同一财产.
Name Type Description
source DataSourceClock 要合并成此天体的对象.
Need help? The fastest way to get answers is from the community and team on the Cesium Forum.