Class SpaceSimulationLua
- Namespace
- KSP.Sim.impl.lua
- Assembly
- Assembly-CSharp.dll
public class SpaceSimulationLua
- Inheritance
-
SpaceSimulationLua
- Inherited Members
-
- Extension Methods
-
Constructors
SpaceSimulationLua(SpaceSimulation, IHandOfGodForces)
public SpaceSimulationLua(SpaceSimulation spaceSimulation, IHandOfGodForces godForces)
Parameters
spaceSimulation SpaceSimulation
godForces IHandOfGodForces
Methods
RegisterEnvironment(IScriptEnvironment)
public void RegisterEnvironment(IScriptEnvironment scriptEnvironment)
Parameters
scriptEnvironment IScriptEnvironment
TeleportToOrbit(string, string, double, double, double, double, double, double, double)
public bool TeleportToOrbit(string guid, string celestialBodyGuid, double inclination, double eccentricity, double semiMajorAxis, double longitudeOfAscendingNode, double argumentOfPeriapsis, double meanAnomalyAtEpoch, double epoch)
Parameters
guid string
celestialBodyGuid string
inclination double
eccentricity double
semiMajorAxis double
longitudeOfAscendingNode double
argumentOfPeriapsis double
meanAnomalyAtEpoch double
epoch double
Returns
- bool
TeleportToRendezvous(string, string, double, double, double, double, double, double)
public bool TeleportToRendezvous(string guid, string target, double distanceX, double distanceY, double distanceZ, double pitchDeg, double yawDeg, double rollDeg)
Parameters
guid string
target string
distanceX double
distanceY double
distanceZ double
pitchDeg double
yawDeg double
rollDeg double
Returns
- bool
TeleportToSurface(string, string, double, double, double, double)
public bool TeleportToSurface(string guid, string celestialBodyGuid, double altitude, double latitude, double longitude, double verticalSpeed)
Parameters
guid string
celestialBodyGuid string
altitude double
latitude double
longitude double
verticalSpeed double
Returns
- bool