C# 클래스 Engineer.VesselSimulator.PartSim

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

공개 프로퍼티들

프로퍼티 타입 설명
baseMass double
cost float
decoupledInStage int
fuelCrossFeed bool
fuelTargets List
hasModuleEngines bool
hasModuleEnginesFX bool
hasMultiModeEngine bool
hasVessel bool
initialVesselName String
inverseStage int
isDecoupler bool
isEngine bool
isFuelLine bool
isFuelTank bool
isLanded bool
isNoPhysics bool
isSepratron bool
localCorrectThrust bool
name String
noCrossFeedNodeKey String
parent PartSim
parentAttach AttachModes
part Part
partId int
resourceDrains ResourceContainer
resourceFlowStates ResourceContainer
resources ResourceContainer
startMass double
vesselName String
vesselType VesselType

공개 메소드들

메소드 설명
CreateEngineSims ( List allEngines, double atmosphere, double velocity, bool vectoredThrust, LogMsg log ) : void
DecouplerCount ( ) : int
DrainResources ( double time ) : void
DumpPartAndParentsToBuffer ( StringBuilder buffer, String prefix ) : String
DumpPartToBuffer ( StringBuilder buffer, String prefix, List allParts = null ) : void
GetMass ( ) : double
GetSourceSet ( int type, List allParts, HashSet visited, LogMsg log, String indent ) : HashSet
GetStartMass ( ) : double
PartSim ( Part thePart, int id, double atmosphere, LogMsg log ) : System
ReleasePart ( ) : void
RemoveAttachedParts ( HashSet partSims ) : void
SetupAttachNodes ( PartSim>.Dictionary partSimLookup, LogMsg log ) : void
SetupParent ( PartSim>.Dictionary partSimLookup, LogMsg log ) : void
TimeToDrainResource ( ) : double

비공개 메소드들

메소드 설명
CalculateThrustVector ( List thrustTransforms, LogMsg log ) : Vector3
DecoupledInStage ( Part thePart, int stage = -1 ) : int
IsActiveDecoupler ( Part thePart ) : bool
IsDecoupler ( Part thePart ) : bool
IsSepratron ( ) : bool

메소드 상세

CreateEngineSims() 공개 메소드

public CreateEngineSims ( List allEngines, double atmosphere, double velocity, bool vectoredThrust, LogMsg log ) : void
allEngines List
atmosphere double
velocity double
vectoredThrust bool
log LogMsg
리턴 void

DecouplerCount() 공개 메소드

public DecouplerCount ( ) : int
리턴 int

DrainResources() 공개 메소드

public DrainResources ( double time ) : void
time double
리턴 void

DumpPartAndParentsToBuffer() 공개 메소드

public DumpPartAndParentsToBuffer ( StringBuilder buffer, String prefix ) : String
buffer StringBuilder
prefix String
리턴 String

DumpPartToBuffer() 공개 메소드

public DumpPartToBuffer ( StringBuilder buffer, String prefix, List allParts = null ) : void
buffer StringBuilder
prefix String
allParts List
리턴 void

GetMass() 공개 메소드

public GetMass ( ) : double
리턴 double

GetSourceSet() 공개 메소드

public GetSourceSet ( int type, List allParts, HashSet visited, LogMsg log, String indent ) : HashSet
type int
allParts List
visited HashSet
log LogMsg
indent String
리턴 HashSet

GetStartMass() 공개 메소드

public GetStartMass ( ) : double
리턴 double

PartSim() 공개 메소드

public PartSim ( Part thePart, int id, double atmosphere, LogMsg log ) : System
thePart Part
id int
atmosphere double
log LogMsg
리턴 System

ReleasePart() 공개 메소드

public ReleasePart ( ) : void
리턴 void

RemoveAttachedParts() 공개 메소드

public RemoveAttachedParts ( HashSet partSims ) : void
partSims HashSet
리턴 void

SetupAttachNodes() 공개 메소드

public SetupAttachNodes ( PartSim>.Dictionary partSimLookup, LogMsg log ) : void
partSimLookup PartSim>.Dictionary
log LogMsg
리턴 void

SetupParent() 공개 메소드

public SetupParent ( PartSim>.Dictionary partSimLookup, LogMsg log ) : void
partSimLookup PartSim>.Dictionary
log LogMsg
리턴 void

TimeToDrainResource() 공개 메소드

public TimeToDrainResource ( ) : double
리턴 double

프로퍼티 상세

baseMass 공개적으로 프로퍼티

public double baseMass
리턴 double

cost 공개적으로 프로퍼티

public float cost
리턴 float

decoupledInStage 공개적으로 프로퍼티

public int decoupledInStage
리턴 int

fuelCrossFeed 공개적으로 프로퍼티

public bool fuelCrossFeed
리턴 bool

fuelTargets 공개적으로 프로퍼티

public List fuelTargets
리턴 List

hasModuleEngines 공개적으로 프로퍼티

public bool hasModuleEngines
리턴 bool

hasModuleEnginesFX 공개적으로 프로퍼티

public bool hasModuleEnginesFX
리턴 bool

hasMultiModeEngine 공개적으로 프로퍼티

public bool hasMultiModeEngine
리턴 bool

hasVessel 공개적으로 프로퍼티

public bool hasVessel
리턴 bool

initialVesselName 공개적으로 프로퍼티

public String initialVesselName
리턴 String

inverseStage 공개적으로 프로퍼티

public int inverseStage
리턴 int

isDecoupler 공개적으로 프로퍼티

public bool isDecoupler
리턴 bool

isEngine 공개적으로 프로퍼티

public bool isEngine
리턴 bool

isFuelLine 공개적으로 프로퍼티

public bool isFuelLine
리턴 bool

isFuelTank 공개적으로 프로퍼티

public bool isFuelTank
리턴 bool

isLanded 공개적으로 프로퍼티

public bool isLanded
리턴 bool

isNoPhysics 공개적으로 프로퍼티

public bool isNoPhysics
리턴 bool

isSepratron 공개적으로 프로퍼티

public bool isSepratron
리턴 bool

localCorrectThrust 공개적으로 프로퍼티

public bool localCorrectThrust
리턴 bool

name 공개적으로 프로퍼티

public String name
리턴 String

noCrossFeedNodeKey 공개적으로 프로퍼티

public String noCrossFeedNodeKey
리턴 String

parent 공개적으로 프로퍼티

public PartSim,Engineer.VesselSimulator parent
리턴 PartSim

parentAttach 공개적으로 프로퍼티

public AttachModes parentAttach
리턴 AttachModes

part 공개적으로 프로퍼티

public Part part
리턴 Part

partId 공개적으로 프로퍼티

public int partId
리턴 int

resourceDrains 공개적으로 프로퍼티

public ResourceContainer,Engineer.VesselSimulator resourceDrains
리턴 ResourceContainer

resourceFlowStates 공개적으로 프로퍼티

public ResourceContainer,Engineer.VesselSimulator resourceFlowStates
리턴 ResourceContainer

resources 공개적으로 프로퍼티

public ResourceContainer,Engineer.VesselSimulator resources
리턴 ResourceContainer

startMass 공개적으로 프로퍼티

public double startMass
리턴 double

vesselName 공개적으로 프로퍼티

public String vesselName
리턴 String

vesselType 공개적으로 프로퍼티

public VesselType vesselType
리턴 VesselType