C# Class RemoteTech.FlightComputer.FlightCore

Afficher le fichier Open project: RemoteTechnologiesGroup/RemoteTech Class Usage Examples

Méthodes publiques

Свойство Type Description
UseSas bool

Méthodes publiques

Méthode 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 méthode

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

HoldAttitude() public static méthode

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
Résultat void

HoldOrientation() public static méthode

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

hasPropellant() public static méthode

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
Résultat bool

Property Details

UseSas public_oe static_oe property

public static bool UseSas
Résultat bool