CameraNavigator class

Generate camera animation according to the input key points.

Signature:

export default class CameraNavigator extends Tool 

Extends: Tool

Constructors

ConstructorDescription
(constructor)(viewer)constructor of Navigator.

Methods

MethodDescription
addKeyPoint(point)Add key point to the animation.
clearKeyPoints()Clear the keypoints set previously. This should be called before you want to start a new animation with different keypoints.
resume()Resume the camera animation.
setRotationDuration(rotationDuration)Set the speed of camera rotation.
setSpeed(speed)Set the animation speed.
start()Start camera animation.
stop()Stop the camera animation.