CameraAnimation

class cee.CameraAnimation()

Interface for camera animations that can be used with a Viewer


Methods

isAbortableByUserNavigation

CameraAnimation.isAbortableByUserNavigation()

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

Return type:

boolean

isAnimationDone

CameraAnimation.isAnimationDone()

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.

Return type:

boolean

updateCamera

CameraAnimation.updateCamera(highResTimestamp_ms, isResumingAfterPause)
Arguments:
  • highResTimestamp_ms (number) – None

  • isResumingAfterPause (boolean) – None

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

Return type:

boolean