C# Class SSTUTools.SSTUAirstreamShield

Inheritance: PartModule, IAirstreamShield
Afficher le fichier Open project: shadowmage45/SSTULabs Class Usage Examples

Méthodes publiques

Méthode 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

Méthode Description
clearShieldedParts ( ) : void
findShieldedParts ( ) : void
findShieldedPartsCylinder ( ) : void
onAnimationStateChange ( AnimState newState ) : void
updateShieldStatus ( ) : void

Method Details

ClosedAndLocked() public méthode

public ClosedAndLocked ( ) : bool
Résultat bool

GetPart() public méthode

public GetPart ( ) : Part
Résultat Part

GetVessel() public méthode

public GetVessel ( ) : Vessel
Résultat Vessel

LateUpdate() public méthode

public LateUpdate ( ) : void
Résultat void

OnDestroy() public méthode

public OnDestroy ( ) : void
Résultat void

OnLoad() public méthode

public OnLoad ( ConfigNode node ) : void
node System.ConfigNode
Résultat void

OnStart() public méthode

public OnStart ( StartState state ) : void
state StartState
Résultat void

Start() public méthode

public Start ( ) : void
Résultat void

addShieldArea() public méthode

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
Résultat void

findShieldedPartsCylinder() public static méthode

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
Résultat void

findShieldedPartsMesh() public static méthode

public static findShieldedPartsMesh ( Part basePart, String rootMeshName, List shieldedParts ) : void
basePart Part
rootMeshName String
shieldedParts List
Résultat void

onEditorVesselModified() public méthode

public onEditorVesselModified ( ShipConstruct ship ) : void
ship ShipConstruct
Résultat void

onVesselModified() public méthode

public onVesselModified ( Vessel vessel ) : void
vessel Vessel
Résultat void

removeShieldArea() public méthode

public removeShieldArea ( String name ) : void
name String
Résultat void