Clock
Clock can operate the clock of the Viewer or CesiumWidget.
All properties are applied to single clock.
Availability
Section titled “Availability”Clock can be mounted insideViewer or CesiumWidget components. Clock can not be mounted more than once for each Viewer or CesiumWidget.
Properties
Section titled “Properties”Cesium properties
Section titled “Cesium properties”| Property | Type | Description |
|---|---|---|
| shouldAnimate | boolean | |
| canAnimate | boolean | |
| clockRange | ClockRange | |
| clockStep | ClockStep | |
| currentTime | JulianDate | |
| multiplier | number | |
| startTime | JulianDate | |
| stopTime | JulianDate |
Cesium read-only properties
Section titled “Cesium read-only properties”N/A
Cesium events
Section titled “Cesium events”| Property | Type | Description |
|---|---|---|
| onStop | ((clock: Clock) => void) | undefined | |
| onTick | ((clock: Clock) => void) | undefined |
Other properties
Section titled “Other properties”N/A