C# Класс RemoteTech.FlightComputer.FlightCore

Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
UseSas bool

Открытые методы

Метод Описание
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

Описание методов

GetTotalThrust() публичный статический Метод

Get the total thrust of all activated, not flamed out engines.
public static GetTotalThrust ( Vessel v ) : double
v Vessel Current vessel
Результат double

HoldAttitude() публичный статический Метод

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
Результат void

HoldOrientation() публичный статический Метод

public static HoldOrientation ( FlightCtrlState fs, FlightComputer f, Quaternion target, bool ignoreRoll = false ) : void
fs FlightCtrlState
f FlightComputer
target UnityEngine.Quaternion
ignoreRoll bool
Результат void

hasPropellant() публичный статический Метод

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
Результат bool

Описание свойств

UseSas публичное статическое свойство

public static bool UseSas
Результат bool