Skip to content

CameraFlyHome

CameraFlyHome is a kind of operation of the camera.

When it is mounted, camera.flyHome(duration) will be execute.

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

See also: Camera#flyHome

Inside Viewer or CesiumWidget components.

PropertyTypeDescription
durationnumberDuration of camera flight (second)
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.