Creates a new CameraFlightAnimation instance.
Optionalcfg: { duration: number }Optional configuration.
Default animation duration in seconds for CameraFlightAnimation.flyTo.
ReadonlycameraThe Camera controlled by this CameraFlightAnimation.
ReadonlyonFires when the camera animation is cancelled.
ReadonlyonFires when the camera animation starts.
ReadonlyonFires when the camera animation completes.
ReadonlyviewThe View that owns this CameraFlightAnimation.
Gets the flight duration in seconds.
Default value is 0.5.
Sets the flight duration in seconds.
Stops any flight currently in progress.
Default value is 0.5.
When flying to a SceneModel, ViewObject or boundary, indicates if the CameraFlightAnimation always adjusts the distance of Camera.eye from Camera.look to ensure that the target always fits in view.
When false, the eye will remain fixed at its current distance from the look position.
Default value is true.
When flying to a SceneModel, ViewObject or boundary, indicates if the CameraFlightAnimation always adjusts the distance of Camera.eye from Camera.look to ensure that the target always fits in view.
When false, the eye will remain fixed at its current distance from the look position.
Default value is true.
Gets how much of the perspective field-of-view, in degrees, that a target ViewObject should fill the canvas when calling CameraFlightAnimation.flyTo or CameraFlightAnimation.jumpTo.
Default value is 45.
Sets how much of the perspective field-of-view, in degrees, that a target ViewObject should fill the canvas when calling CameraFlightAnimation.flyTo or CameraFlightAnimation.jumpTo.
Default value is 45.
Indicates if this CameraFlightAnimation will orient the Camera in the direction that it is flying.
Default value is false.
Indicates if this CameraFlightAnimation will orient the Camera in the direction that it is flying.
Default value is false.
Cancels a flight in progress, without calling the arrival callback.
Animates the camera to a target viewpoint or bounding volume.
eye, look, and up are provided, the camera will interpolate to that exact pose.Parameters defining the flight target and behavior.
Optionalcallback: (arg0: any) => voidOptional callback invoked after the flight completes.
Instantly moves the camera to a specified viewpoint or bounding volume, without animation.
eye, look, and up are provided, the camera will immediately assume that pose.Target camera state or bounding box.
Stops an earlier CameraFlightAnimation.flyTo, fires arrival callback, then "stopped" event.
Static_easeStatic_easeStatic_ease
Animates a View's Camera to smoothly transition to a specified target, such as a component, bounding box, or viewpoint.
Use @xeokit/sdk/cameraflight to create cinematic camera motions.