English中文

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.
获取每当分配新属性时引发的事件。 Gets the event that is raised whenever a new property is assigned.
获取或设置所需的时钟倍频器。参见 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

复制 DataSourceClock 实例。 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.
如果此 DataSourceClock 与另一个相同,则返回 true Returns true if this DataSourceClock is equivalent to the other
名称 Name 类型 Type 说明 Description
other DataSourceClock 可选 optional 要比较的其他 DataSourceClock。 The other DataSourceClock to compare to.
返回: Returns:
true 如果 DataSourceClock 相等;否则, 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.