C# Class SSTUTools.SSTUAirstreamShield

Inheritance: PartModule, IAirstreamShield
Datei anzeigen Open project: shadowmage45/SSTULabs Class Usage Examples

Public Methods

Method Description
ClosedAndLocked ( ) : bool
GetPart ( ) : Part
GetVessel ( ) : Vessel
LateUpdate ( ) : void
OnDestroy ( ) : void
OnLoad ( ConfigNode node ) : void
OnStart ( StartState state ) : void
Start ( ) : void
addShieldArea ( String name, float topRad, float bottomRad, float topY, float bottomY, bool topNode, bool bottomNode ) : void
findShieldedPartsCylinder ( Part basePart, List shieldedParts, float topY, float bottomY, float topRadius, float bottomRadius ) : void
findShieldedPartsMesh ( Part basePart, String rootMeshName, List shieldedParts ) : void
onEditorVesselModified ( ShipConstruct ship ) : void
onVesselModified ( Vessel vessel ) : void
removeShieldArea ( String name ) : void

Private Methods

Method Description
clearShieldedParts ( ) : void
findShieldedParts ( ) : void
findShieldedPartsCylinder ( ) : void
onAnimationStateChange ( AnimState newState ) : void
updateShieldStatus ( ) : void

Method Details

ClosedAndLocked() public method

public ClosedAndLocked ( ) : bool
return bool

GetPart() public method

public GetPart ( ) : Part
return Part

GetVessel() public method

public GetVessel ( ) : Vessel
return Vessel

LateUpdate() public method

public LateUpdate ( ) : void
return void

OnDestroy() public method

public OnDestroy ( ) : void
return void

OnLoad() public method

public OnLoad ( ConfigNode node ) : void
node System.ConfigNode
return void

OnStart() public method

public OnStart ( StartState state ) : void
state StartState
return void

Start() public method

public Start ( ) : void
return void

addShieldArea() public method

public addShieldArea ( String name, float topRad, float bottomRad, float topY, float bottomY, bool topNode, bool bottomNode ) : void
name String
topRad float
bottomRad float
topY float
bottomY float
topNode bool
bottomNode bool
return void

findShieldedPartsCylinder() public static method

public static findShieldedPartsCylinder ( Part basePart, List shieldedParts, float topY, float bottomY, float topRadius, float bottomRadius ) : void
basePart Part
shieldedParts List
topY float
bottomY float
topRadius float
bottomRadius float
return void

findShieldedPartsMesh() public static method

public static findShieldedPartsMesh ( Part basePart, String rootMeshName, List shieldedParts ) : void
basePart Part
rootMeshName String
shieldedParts List
return void

onEditorVesselModified() public method

public onEditorVesselModified ( ShipConstruct ship ) : void
ship ShipConstruct
return void

onVesselModified() public method

public onVesselModified ( Vessel vessel ) : void
vessel Vessel
return void

removeShieldArea() public method

public removeShieldArea ( String name ) : void
name String
return void