new FlightInstance()
modules/tools/virtualCity/flight.js, line 24
FlightInstance of the virtualcitysystems PlanningService, a container for viewpoints and settings
Properties:
Name | Type | Description |
---|---|---|
name |
string | name of the flightInstance |
viewpoints |
Array.<FlightInstance.Anchor> | list of viewpoints Anchors defining the flight |
loop |
Boolean | if the flight should be looped |
interpolation |
String | interpolation method |
Extends
Methods
-
isValid(){boolean}
modules/tools/virtualCity/flight.js, line 35 -
checks if this flightInstance is valid
Type Definitions
-
FlightInstance.AnchorObject
-
Properties:
Name Type Argument Default Description cameraPosition
ol.Coordinate ol3 coordinate array with xyz coordinates (z value is mandatory) heading
number <optional>
0 angle between 0 and 360 degree pitch
number <optional>
-90 angle between 0 and 360 degree roll
number <optional>
0 angle between 0 and 360 degree duration
number the duration in seconds