Skip to content

KBE3D / KBCore / Cesium / Timeline

类: Timeline

The Timeline is a widget for displaying and controlling the current scene time.

参数

The parent HTML container node for this widget.

参数

The clock to use.

属性

container

container: Element

Gets the parent container.

方法

isDestroyed()

isDestroyed(): boolean

返回

boolean

true if the object has been destroyed, false otherwise.


destroy()

destroy(): void

Destroys the widget. Should be called if permanently removing the widget from layout.

返回

void


zoomTo()

zoomTo(startTime: JulianDate, stopTime: JulianDate): void

Sets the view to the provided times.

参数

startTime

JulianDate

The start time.

stopTime

JulianDate

The stop time.

返回

void


resize()

resize(): void

Resizes the widget to match the container size.

返回

void

构造函数

构造函数

new Timeline(container: Element, clock: Clock): Timeline

参数

container

Element

clock

Clock

返回

Timeline

KBE3D @3.0.0 Copyright © 2024-present KBE3D