new vcs.vcm.util.flight.FlightPlayer()
Members
Methods
-
vcs.vcm.util.flight.FlightPlayer.getInstance(){vcs.vcm.util.flight.FlightPlayer}
-
-
backward()
-
resets the currentTime to the previous anchor
-
forward()
-
forwards the currentTime to the next anchor
-
goToTime(time)
-
jumps to the given time
Name Type Description timenumber time in seconds
-
play(flightInstance)
-
starts playing either the given flightInstance or the activeInstance
Name Type Description flightInstancevcs.vcm.util.flight.FlightInstance | undefined -
setActiveFlightInstance(flightInstance){Promise}
-
Name Type Description flightInstancevcs.vcm.util.flight.FlightInstance -
stop()
-
stops the active flight and sets the currentTime to 0
Type Definitions
-
vcs.vcm.util.flight.FlightPlayer.Clock{Object}
-
Properties:
Name Type Description startTimenumber endTimenumber currentTimenumber currentSystemTimenumber | null timesArray.<number> -
vcs.vcm.util.flight.FlightPlayer.Values{Object}
-
Properties:
Name Type Argument Default Description playingboolean <optional>
false pausedboolean <optional>
false multipliernumber <optional>
1 repeatboolean <optional>
false validboolean <optional>
false activeInstancevcs.vcm.util.flight.FlightInstance | null
virtualcityMAP 3.6