C# Class SSTUTools.SSTUResizableFairing

Inheritance: PartModule
Show file Open project: shadowmage45/SSTULabs

Public Methods

Method 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

Method Description
updateEditorFields ( ) : void
updateModelScale ( ) : void
updateNodePositions ( bool userInput ) : void
updateTexture ( String name ) : void

Method Details

GetModuleCost() public method

public GetModuleCost ( float defaultCost, ModifierStagingSituation sit ) : float
defaultCost float
sit ModifierStagingSituation
return float

GetModuleCostChangeWhen() public method

public GetModuleCostChangeWhen ( ) : ModifierChangeWhen
return ModifierChangeWhen

GetModuleMass() public method

public GetModuleMass ( float defaultMass, ModifierStagingSituation sit ) : float
defaultMass float
sit ModifierStagingSituation
return float

GetModuleMassChangeWhen() public method

public GetModuleMassChangeWhen ( ) : ModifierChangeWhen
return ModifierChangeWhen

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

onDiameterUpdated() public method

public onDiameterUpdated ( BaseField field, object obj ) : void
field BaseField
obj object
return void

onTextureUpdated() public method

public onTextureUpdated ( BaseField field, object obj ) : void
field BaseField
obj object
return void

onUserSizeChange() public method

public onUserSizeChange ( float newDiameter, bool updateSymmetry ) : void
newDiameter float
updateSymmetry bool
return void