Generate camera animation according to the input key points.
Signature:
export default class CameraNavigator extends Tool
Extends: Tool
Constructor | Description |
---|---|
(constructor)(viewer) | constructor of Navigator. |
Method | Description |
---|---|
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. |