new SuperMap3D.FlyManager(options)
Flight management class, which controls the start, pause, stop and site events of the flight.
Name |
Type |
Description |
options |
Object
|
optional
Contains the following properties:
Name |
Type |
Description |
scene |
Scene
|
optional
scene object. |
routes |
RouteCollection
|
optional
A collection of flightline objects (read from flight files). |
|
Example:
//Create a flightline collection object.
var routes = new SuperMap3D.RouteCollection();
//Read flight files.
routes.fromFile('./test.fpf');
//Create a flight management object.
var fm = new SuperMap3D.FlyManager({
scene : scene,
routes : routes
});
See: