Flight management, control the start, pause, stop and site events of the flight.
Name | Type | Description | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
options |
Object |
optional
Contains the following attributes:
|
Example:
//Create a flight route collection object.
var routes = new Cesium.RouteCollection();
//Read the flight file.
routes.fromFile('./test.fpf');
//Create flight management objects.
var fm = new Cesium.FlyManager({
scene : scene,
routes : routes
});
See:
Members
-
readonlycurrentRoute : Route
-
Get the current flight route.
-
Get or set the current station index (specify the station to start the flight).
-
Default Value:
0
-
Get or set the flight speed of the flight path, acceleration greater than 1.0, deceleration less than 1.0.
-
Default Value:
1.0
-
A promise to get the ready status of the flight route.
-
routes : RouteCollection
-
Get or set the current route collection object.
-
readonlystopArrived : Event
-
Get site arrival event.