C# Class Engineer.VesselSimulator.EngineSim

Mostrar archivo Open project: CYBUTEK/Engineer Class Usage Examples

Public Properties

Property Type Description
actualThrust double
isActive bool
isp double
partSim PartSim
thrust double
thrustVec Vector3

Public Methods

Method 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 method

public DumpEngineToBuffer ( StringBuilder buffer, String prefix ) : void
buffer StringBuilder
prefix String
return void

EngineSim() public method

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
return System

SetResourceDrains() public method

public SetResourceDrains ( List allParts, List allFuelLines, HashSet drainingParts ) : bool
allParts List
allFuelLines List
drainingParts HashSet
return bool

Property Details

actualThrust public_oe property

public double actualThrust
return double

isActive public_oe property

public bool isActive
return bool

isp public_oe property

public double isp
return double

partSim public_oe property

public PartSim,Engineer.VesselSimulator partSim
return PartSim

thrust public_oe property

public double thrust
return double

thrustVec public_oe property

public Vector3 thrustVec
return Vector3