Skip to content

KBE3D / KBCore / Cesium / DataSourceClock

类: DataSourceClock

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

属性

definitionChanged

readonly definitionChanged: Event

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


startTime

startTime: JulianDate

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


stopTime

stopTime: JulianDate

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


currentTime

currentTime: JulianDate

Gets or sets the desired current time when this data source is loaded. See Clock#currentTime.


clockRange

clockRange: ClockRange

Gets or sets the desired clock range setting. See Clock#clockRange.


clockStep

clockStep: ClockStep

Gets or sets the desired clock step setting. See Clock#clockStep.


multiplier

multiplier: number

Gets or sets the desired clock multiplier. See Clock#multiplier.

方法

clone()

clone(result?: DataSourceClock): DataSourceClock

Duplicates a DataSourceClock instance.

参数

result?

DataSourceClock

The object onto which to store the result.

返回

DataSourceClock

The modified result parameter or a new instance if one was not provided.


equals()

equals(other?: DataSourceClock): boolean

Returns true if this DataSourceClock is equivalent to the other

参数

other?

DataSourceClock

The other DataSourceClock to compare to.

返回

boolean

true if the DataSourceClocks are equal; otherwise, false.


merge()

merge(source: DataSourceClock): void

Assigns each unassigned property on this object to the value of the same property on the provided source object.

参数

source

DataSourceClock

The object to be merged into this object.

返回

void


getValue()

getValue(): Clock

Gets the value of this clock instance as a Clock object.

返回

Clock

The modified result parameter or a new instance if one was not provided.

构造函数

构造函数

new DataSourceClock(): DataSourceClock

返回

DataSourceClock

KBE3D @3.0.0 Copyright © 2024-present KBE3D