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