Flightline object class. (This class cannot be created, it can only be obtained through the RouteCollection collection of flight routes)
Name | Type | Default | Description |
---|---|---|---|
options |
Object | optional Contains the following properties: | |
isStopVisible |
Boolean |
false
|
optional Whether the site logo is visible. |
isFlyLoop |
Boolean |
false
|
optional Whether to fly circularly. |
isLineVisible |
Boolean |
false
|
optional Whether the flight path is visible. |
routeName |
String |
''
|
optional Flightline name. |
speed |
Number |
50.0
|
optional flight speed. |
isAlongline |
Boolean |
false
|
optional Whether to fly along the route. |
totalDuration |
Number |
0.0
|
optional total flight time. |
See:
Members
-
Get or set whether the flight route is to fly along the route.
-
Default Value:
false
-
Get or set whether the camera height is locked.
-
Get or set whether the flight path is cyclic.
-
Default Value:
false
-
Get or set whether the camera locks the azimuth.
-
Get or set whether the path of the flight path is visible.
-
Default Value:
false
-
Get or set whether the site of this flight path is visible.
-
Default Value:
false
-
Get or set whether the camera locks the pitch angle.
-
Get or set the name of the flightline.
-
Default Value:
''
-
Get or set the flight speed of the flight path, the priority is based on the station speed (unit: m/s).
-
Default Value:
50.0
-
Get a collection of all stops for this flightline.
-
Get the number of stops of the flight path.
-
Get or set the total flight time of the flight route (unit: second).
Methods
-
Add a site.
Name Type Description stop
RouteStop site object. Returns:
Whether the addition is successful. -
get(index) → RouteStop
-
Get the site for this flightline by index.
Name Type Description index
Number site index. Returns:
Returns the currently indexed site. -
Remove the flight site, the parameter is the site object.
Name Type Description stop
Object site object