C# Class GravityTurn.GravityTurner

Inheritance: UnityEngine.MonoBehaviour
Show file Open project: johnfink8/GravityTurn Class Usage Examples

Public Properties

Property Type Description
HorizontalDistance double
LaunchBody CelestialBody
LaunchName string
Launching bool
MaxHeat double
MaxThrust double
Message string
NeutralThrottle float
PitchAdjustment MovingAverage
PrevTime double
Throttle MovingAverage
TimeSpeed double
TotalLoss double
button ApplicationLauncherButton
flightMapWindow GravityTurn.Window.FlightMapWindow
lastTimeMeasured float
stage StageController
vesselState VesselState
windowManager GravityTurn.Window.WindowManager

Private Properties

Property Type Description
CalculateLosses void
ConfigFilename string
CreateButtonIcon void
DebugGUI void
FixedUpdate void
GetMaxThrust double
InitializeNumbers void
LaunchHeading float
LoadParameters void
MaxAngle float
OnDestroy void
OnGUI void
PreflightInfo string
ProgradeHeading float
RollRotation UnityEngine.Quaternion
SaveParameters void
SetWindowOpen void
Start void
TWRWeightedAverage double
Update void
fly void

Public Methods

Method Description
CalculateSettings ( Vessel vessel, bool UseBest = false ) : void
GetFlightMapFilename ( ) : string
Kill ( ) : void
Launch ( ) : void
Log ( string format ) : void

Private Methods

Method Description
CalculateLosses ( Vessel vessel ) : void
ConfigFilename ( Vessel vessel ) : string
CreateButtonIcon ( ) : void
DebugGUI ( int windowID ) : void
FixedUpdate ( ) : void
GetMaxThrust ( Vessel vessel ) : double
InitializeNumbers ( Vessel vessel ) : void
LaunchHeading ( Vessel vessel ) : float
LoadParameters ( ) : void
MaxAngle ( Vessel vessel ) : float
OnDestroy ( ) : void
OnGUI ( ) : void
PreflightInfo ( Vessel vessel ) : string
ProgradeHeading ( bool surface = true ) : float
RollRotation ( ) : Quaternion
SaveParameters ( ) : void
SetWindowOpen ( ) : void
Start ( ) : void
TWRWeightedAverage ( double MinimumDeltaV, Vessel vessel ) : double
Update ( ) : void
fly ( FlightCtrlState s ) : void

Method Details

CalculateSettings() public method

public CalculateSettings ( Vessel vessel, bool UseBest = false ) : void
vessel Vessel
UseBest bool
return void

GetFlightMapFilename() public method

public GetFlightMapFilename ( ) : string
return string

Kill() public method

public Kill ( ) : void
return void

Launch() public method

public Launch ( ) : void
return void

Log() public static method

public static Log ( string format ) : void
format string
return void

Property Details

HorizontalDistance public property

public double HorizontalDistance
return double

LaunchBody public property

public CelestialBody LaunchBody
return CelestialBody

LaunchName public property

public string LaunchName
return string

Launching public property

public bool Launching
return bool

MaxHeat public property

public double MaxHeat
return double

MaxThrust public property

public double MaxThrust
return double

Message public property

public string Message
return string

NeutralThrottle public property

public float NeutralThrottle
return float

PitchAdjustment public property

public MovingAverage PitchAdjustment
return MovingAverage

PrevTime public property

public double PrevTime
return double

Throttle public property

public MovingAverage Throttle
return MovingAverage

TimeSpeed public property

public double TimeSpeed
return double

TotalLoss public property

public double TotalLoss
return double

button public property

public ApplicationLauncherButton button
return ApplicationLauncherButton

flightMapWindow public property

public FlightMapWindow,GravityTurn.Window flightMapWindow
return GravityTurn.Window.FlightMapWindow

lastTimeMeasured public property

public float lastTimeMeasured
return float

stage public property

public StageController,GravityTurn stage
return StageController

vesselState public property

public VesselState vesselState
return VesselState

windowManager public property

public WindowManager,GravityTurn.Window windowManager
return GravityTurn.Window.WindowManager