CameraAnimation

class cee.CameraAnimation()

Interface for camera animations that can be used with a Viewer

Methods

cee.CameraAnimation.isAbortableByUserNavigation()
isAbortableByUserNavigation(): boolean

Whether this camera animation should be aborted if user navigation/interaction is detected

Returns: boolean

cee.CameraAnimation.isAnimationDone()
isAnimationDone(): boolean

Query if the camera animation is finished. Return true to signal that the camera animation is finished and that the Viewer should release the camera animation object.

Returns: boolean

cee.CameraAnimation.updateCamera()
updateCamera(highResTimestamp_ms: number, isResumingAfterPause: boolean): boolean

Called to update the camera. Return true if camera changed and a redraw should be triggered

Parameters

highResTimestamp_ms: number

isResumingAfterPause: boolean

Returns: boolean