Skip to content

CameraFlyToBoundingSphere

CameraFlyToBoundingSphere is a kind of operation of the camera.

When it is mounted, camera.flyToBoundingSphere(boundingSphere, options) will be execute.

If any property is changed, the current camera flight will be canceled and a new one is executed.

See also: Camera#flyToBoundingSphere

Inside Viewer or CesiumWidget components.

PropertyTypeDescription
durationnumber | undefined
endTransformMatrix4 | undefined
maximumHeightnumber | undefined
pitchAdjustHeightnumber | undefined
flyOverLongitudenumber | undefined
flyOverLongitudeWeightnumber | undefined
easingFunctionCallback | undefined
offsetHeadingPitchRange | undefined
boundingSphereBoundingSphere
onCompleteFlightCompleteCallback | undefined
onCancelFlightCancelledCallback | undefined
cancelFlightOnUnmountboolean | undefinedIf true, cancel camera flight if this component is unmounted. Default value is false.
onceboolean | undefinedIf true, camera flight will be executed only once time.