@JsType(isNative=true, namespace="<global>", name="Object") public class CameraFlyToOptions extends Object
Modifier and Type | Field and Description |
---|---|
Camera.FlightCancelledCallback |
cancel
The function to execute if the flight is cancelled.
|
Camera.FlightCompleteCallback |
complete
The function to execute when the flight is complete.
|
Cartesian3 |
destinationPos
The final position of the camera in WGS84 (world) coordinates or a rectangle that would be visible from a top-down view.
|
Rectangle |
destinationRec
The final position of the camera in WGS84 (world) coordinates or a rectangle that would be visible from a top-down view.
|
double |
duration
The duration of the flight in seconds.
|
EasingFunction |
easingFunction
Controls how the time is interpolated over the duration of the flight.
|
EasingFunction.Callback |
easingFunctionCallback
Controls how the time is interpolated over the duration of the flight.
|
Matrix4 |
endTransform
Transform matrix representing the reference frame the camera will be in when the flight is completed.
|
double |
flyOverLongitude
There are always two ways between 2 points on globe.
|
double |
flyOverLongitudeWeight
Fly over the lon specifyed via flyOverLongitude only if that way is not longer than short way times flyOverLongitudeWeight.
|
double |
maximumHeight
The maximum height at the peak of the flight.
|
HeadingPitchRange |
offset
The offset from the target in the local east-north-up reference frame centered at the target.
|
HeadingPitchRoll |
orientation
An object that contains either direction and up properties or heading, pith and roll properties.
|
double |
pitchAdjustHeight
If camera flyes higher than that value, adjust pitch duiring the flight to look down, and keep Earth in viewport.
|
Constructor and Description |
---|
CameraFlyToOptions() |
@JsProperty(name="destination") public Cartesian3 destinationPos
@JsProperty(name="destination") public Rectangle destinationRec
@JsProperty public HeadingPitchRoll orientation
@JsProperty public double duration
@JsProperty public Camera.FlightCompleteCallback complete
@JsProperty public Camera.FlightCancelledCallback cancel
@JsProperty public Matrix4 endTransform
@JsProperty public double maximumHeight
@JsProperty public double pitchAdjustHeight
@JsProperty public double flyOverLongitude
@JsProperty public double flyOverLongitudeWeight
@JsProperty public EasingFunction easingFunction
@JsProperty(name="easingFunction") public EasingFunction.Callback easingFunctionCallback
@JsProperty public HeadingPitchRange offset
Copyright © 2019. All rights reserved.