Skip to content

KBE3D / KBCore / Cesium / KmlTourFlyTo

类: KmlTourFlyTo

Transitions the KmlTour to the next destination. This transition is facilitated using a specified flyToMode over a given number of seconds.

参数

entry duration

参数

KML fly to mode: bounce, smooth, etc

参数

KmlCamera or KmlLookAt

方法

play()

play(done: DoneCallback, camera: Camera, cameraOptions?: any): void

Play this playlist entry

参数

done

DoneCallback

function which will be called when playback ends

camera

Camera

Cesium camera

cameraOptions?

any

which will be merged with camera flyTo options. See Camera#flyTo

返回

void


stop()

stop(): void

Stop execution of curent entry. Cancel camera flyTo

返回

void


getCameraOptions()

getCameraOptions(cameraOptions: any): any

Returns options for Camera#flyTo or Camera#flyToBoundingSphere depends on this.view type.

参数

cameraOptions

any

options to merge with generated. See Camera#flyTo

返回

any

Camera#flyTo or Camera#flyToBoundingSphere options

构造函数

构造函数

new KmlTourFlyTo(duration: number, flyToMode: string, view: KmlCamera | KmlLookAt): KmlTourFlyTo

参数

duration

number

flyToMode

string

view

KmlCamera | KmlLookAt

返回

KmlTourFlyTo

KBE3D @3.0.0 Copyright © 2024-present KBE3D