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
- Example: CameraFlyToBoundingSphere
Availability
Inside Viewer or CesiumWidget components.
Properties
Property | Type | Description |
---|---|---|
duration | number | |
endTransform | Matrix4 | |
maximumHeight | number | |
pitchAdjustHeight | number | |
flyOverLongitude | number | |
flyOverLongitudeWeight | number | |
easingFunction | Callback | |
offset | HeadingPitchRange | |
boundingSphere | BoundingSphere | |
onComplete | FlightCompleteCallback | |
onCancel | FlightCancelledCallback | |
cancelFlightOnUnmount | boolean | If true, cancel camera flight if this component is unmounted. Default value is false. |
once | boolean | If true, camera flight will be executed only once time. |