Appearance
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
The start time.
stopTime
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
返回
Timeline
