C# Class SSTUTools.SSTUResizableFairing

Inheritance: PartModule
Afficher le fichier Open project: shadowmage45/SSTULabs

Méthodes publiques

Méthode Description
GetModuleCost ( float defaultCost, ModifierStagingSituation sit ) : float
GetModuleCostChangeWhen ( ) : ModifierChangeWhen
GetModuleMass ( float defaultMass, ModifierStagingSituation sit ) : float
GetModuleMassChangeWhen ( ) : ModifierChangeWhen
OnLoad ( ConfigNode node ) : void
OnStart ( StartState state ) : void
Start ( ) : void
onDiameterUpdated ( BaseField field, object obj ) : void
onTextureUpdated ( BaseField field, object obj ) : void
onUserSizeChange ( float newDiameter, bool updateSymmetry ) : void

Private Methods

Méthode Description
updateEditorFields ( ) : void
updateModelScale ( ) : void
updateNodePositions ( bool userInput ) : void
updateTexture ( String name ) : void

Method Details

GetModuleCost() public méthode

public GetModuleCost ( float defaultCost, ModifierStagingSituation sit ) : float
defaultCost float
sit ModifierStagingSituation
Résultat float

GetModuleCostChangeWhen() public méthode

public GetModuleCostChangeWhen ( ) : ModifierChangeWhen
Résultat ModifierChangeWhen

GetModuleMass() public méthode

public GetModuleMass ( float defaultMass, ModifierStagingSituation sit ) : float
defaultMass float
sit ModifierStagingSituation
Résultat float

GetModuleMassChangeWhen() public méthode

public GetModuleMassChangeWhen ( ) : ModifierChangeWhen
Résultat ModifierChangeWhen

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

onDiameterUpdated() public méthode

public onDiameterUpdated ( BaseField field, object obj ) : void
field BaseField
obj object
Résultat void

onTextureUpdated() public méthode

public onTextureUpdated ( BaseField field, object obj ) : void
field BaseField
obj object
Résultat void

onUserSizeChange() public méthode

public onUserSizeChange ( float newDiameter, bool updateSymmetry ) : void
newDiameter float
updateSymmetry bool
Résultat void