C# 클래스 KerbalEngineer.VesselSimulator.EngineSim

파일 보기 프로젝트 열기: CYBUTEK/KerbalEngineer 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
actualThrust double
appliedForces List
dontDecoupleActive bool
isActive bool
isFlamedOut bool
isp double
maxMach float
partSim PartSim
thrust double
thrustVec Vector3

공개 메소드들

메소드 설명
DumpEngineToLog ( LogMsg log ) : void
DumpSourcePartSets ( LogMsg log, String msg ) : void
GetExhaustVelocity ( double isp ) : double
GetFlowModifier ( bool atmChangeFlow, FloatCurve atmCurve, double atmDensity, FloatCurve velCurve, float machNumber, float &maxMach ) : float
GetFlowRate ( double thrust, double isp ) : double
GetThrottlePercent ( float currentThrottle, float thrustPercentage ) : float
GetThrust ( double flowRate, double isp ) : double
GetThrustPercent ( float thrustPercentage ) : float
New ( PartSim theEngine, ModuleEngines engineMod, double atmosphere, float machNumber, bool vectoredThrust, bool fullThrust, LogMsg log ) : EngineSim
Release ( ) : void
SetResourceDrains ( LogMsg log, List allParts, List allFuelLines, HashSet drainingParts ) : bool

비공개 메소드들

메소드 설명
CalculateThrustVector ( List thrustTransforms, List thrustTransformMultipliers, LogMsg log ) : Vector3
Create ( ) : EngineSim
Reset ( EngineSim engineSim ) : void

메소드 상세

DumpEngineToLog() 공개 메소드

public DumpEngineToLog ( LogMsg log ) : void
log LogMsg
리턴 void

DumpSourcePartSets() 공개 메소드

public DumpSourcePartSets ( LogMsg log, String msg ) : void
log LogMsg
msg String
리턴 void

GetExhaustVelocity() 공개 정적인 메소드

public static GetExhaustVelocity ( double isp ) : double
isp double
리턴 double

GetFlowModifier() 공개 정적인 메소드

public static GetFlowModifier ( bool atmChangeFlow, FloatCurve atmCurve, double atmDensity, FloatCurve velCurve, float machNumber, float &maxMach ) : float
atmChangeFlow bool
atmCurve FloatCurve
atmDensity double
velCurve FloatCurve
machNumber float
maxMach float
리턴 float

GetFlowRate() 공개 정적인 메소드

public static GetFlowRate ( double thrust, double isp ) : double
thrust double
isp double
리턴 double

GetThrottlePercent() 공개 정적인 메소드

public static GetThrottlePercent ( float currentThrottle, float thrustPercentage ) : float
currentThrottle float
thrustPercentage float
리턴 float

GetThrust() 공개 정적인 메소드

public static GetThrust ( double flowRate, double isp ) : double
flowRate double
isp double
리턴 double

GetThrustPercent() 공개 정적인 메소드

public static GetThrustPercent ( float thrustPercentage ) : float
thrustPercentage float
리턴 float

New() 공개 정적인 메소드

public static New ( PartSim theEngine, ModuleEngines engineMod, double atmosphere, float machNumber, bool vectoredThrust, bool fullThrust, LogMsg log ) : EngineSim
theEngine PartSim
engineMod ModuleEngines
atmosphere double
machNumber float
vectoredThrust bool
fullThrust bool
log LogMsg
리턴 EngineSim

Release() 공개 메소드

public Release ( ) : void
리턴 void

SetResourceDrains() 공개 메소드

public SetResourceDrains ( LogMsg log, List allParts, List allFuelLines, HashSet drainingParts ) : bool
log LogMsg
allParts List
allFuelLines List
drainingParts HashSet
리턴 bool

프로퍼티 상세

actualThrust 공개적으로 프로퍼티

public double actualThrust
리턴 double

appliedForces 공개적으로 프로퍼티

public List appliedForces
리턴 List

dontDecoupleActive 공개적으로 프로퍼티

public bool dontDecoupleActive
리턴 bool

isActive 공개적으로 프로퍼티

public bool isActive
리턴 bool

isFlamedOut 공개적으로 프로퍼티

public bool isFlamedOut
리턴 bool

isp 공개적으로 프로퍼티

public double isp
리턴 double

maxMach 공개적으로 프로퍼티

public float maxMach
리턴 float

partSim 공개적으로 프로퍼티

public PartSim,KerbalEngineer.VesselSimulator partSim
리턴 PartSim

thrust 공개적으로 프로퍼티

public double thrust
리턴 double

thrustVec 공개적으로 프로퍼티

public Vector3 thrustVec
리턴 Vector3