C# Class Engineer.VesselSimulator.EngineSim

Afficher le fichier Open project: CYBUTEK/Engineer Class Usage Examples

Méthodes publiques

Свойство Type Description
actualThrust double
isActive bool
isp double
partSim PartSim
thrust double
thrustVec Vector3

Méthodes publiques

Méthode Description
DumpEngineToBuffer ( StringBuilder buffer, String prefix ) : void
EngineSim ( PartSim theEngine, double atmosphere, double velocity, float maxThrust, float minThrust, float thrustPercentage, float requestedThrust, Vector3 vecThrust, float realIsp, FloatCurve atmosphereCurve, FloatCurve velocityCurve, bool throttleLocked, List propellants, bool active, bool correctThrust ) : System
SetResourceDrains ( List allParts, List allFuelLines, HashSet drainingParts ) : bool

Method Details

DumpEngineToBuffer() public méthode

public DumpEngineToBuffer ( StringBuilder buffer, String prefix ) : void
buffer StringBuilder
prefix String
Résultat void

EngineSim() public méthode

public EngineSim ( PartSim theEngine, double atmosphere, double velocity, float maxThrust, float minThrust, float thrustPercentage, float requestedThrust, Vector3 vecThrust, float realIsp, FloatCurve atmosphereCurve, FloatCurve velocityCurve, bool throttleLocked, List propellants, bool active, bool correctThrust ) : System
theEngine PartSim
atmosphere double
velocity double
maxThrust float
minThrust float
thrustPercentage float
requestedThrust float
vecThrust Vector3
realIsp float
atmosphereCurve FloatCurve
velocityCurve FloatCurve
throttleLocked bool
propellants List
active bool
correctThrust bool
Résultat System

SetResourceDrains() public méthode

public SetResourceDrains ( List allParts, List allFuelLines, HashSet drainingParts ) : bool
allParts List
allFuelLines List
drainingParts HashSet
Résultat bool

Property Details

actualThrust public_oe property

public double actualThrust
Résultat double

isActive public_oe property

public bool isActive
Résultat bool

isp public_oe property

public double isp
Résultat double

partSim public_oe property

public PartSim,Engineer.VesselSimulator partSim
Résultat PartSim

thrust public_oe property

public double thrust
Résultat double

thrustVec public_oe property

public Vector3 thrustVec
Résultat Vector3