C# Class RemoteTech.FlightComputer.FlightCore

Show file Open project: RemoteTechnologiesGroup/RemoteTech Class Usage Examples

Public Properties

Property Type Description
UseSas bool

Public Methods

Method Description
GetTotalThrust ( Vessel v ) : double

Get the total thrust of all activated, not flamed out engines.

HoldAttitude ( FlightCtrlState fs, FlightComputer f, ReferenceFrame frame, FlightAttitude attitude, Quaternion extra ) : void
HoldOrientation ( FlightCtrlState fs, FlightComputer f, Quaternion target, bool ignoreRoll = false ) : void
hasPropellant ( System propellants ) : bool

Checks the needed propellant of an engine. Its always true if infinite fuel is activ

Method Details

GetTotalThrust() public static method

Get the total thrust of all activated, not flamed out engines.
public static GetTotalThrust ( Vessel v ) : double
v Vessel Current vessel
return double

HoldAttitude() public static method

public static HoldAttitude ( FlightCtrlState fs, FlightComputer f, ReferenceFrame frame, FlightAttitude attitude, Quaternion extra ) : void
fs FlightCtrlState
f FlightComputer
frame ReferenceFrame
attitude FlightAttitude
extra UnityEngine.Quaternion
return void

HoldOrientation() public static method

public static HoldOrientation ( FlightCtrlState fs, FlightComputer f, Quaternion target, bool ignoreRoll = false ) : void
fs FlightCtrlState
f FlightComputer
target UnityEngine.Quaternion
ignoreRoll bool
return void

hasPropellant() public static method

Checks the needed propellant of an engine. Its always true if infinite fuel is activ
public static hasPropellant ( System propellants ) : bool
propellants System Propellant for an engine
return bool

Property Details

UseSas public static property

public static bool UseSas
return bool