Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Member Functions | Public Attributes | Properties | List of all members
SuitCombos Class Reference

Stores the data loaded from the NEW_SUITCOMBOS nodes, and references the stock combos. More...

Inheritance diagram for SuitCombos:

Public Member Functions

SuitCombo GetCombo (string comboId)
 Get the SuitCombo with this id from any List More...
 
Texture GetDefaultTexture (ProtoCrewMember crew, SuitCombo.TextureTarget textureTarget, Material partMaterial, SuitCombo.MaterialProperty materialProperty)
 Returns the default texture associated to the crew genre and the suit type. More...
 
void UpdateTextureScale (Material suitMaterial, Vector2 scaleUpdate, SuitCombo.MaterialProperty materialProperty)
 Set-ups the material properties to use the assigned texture. More...
 

Public Attributes

HelmetSuitPickerWindow helmetSuitPickerWindow
 References the HelmetSuitPickerWindow. More...
 
ConfigNode[] nodeNewCombos
 Stores the users combo cfg nodes. More...
 

Properties

List< SuitComboDefaultCombos [get]
 References the default combos data. More...
 
List< SuitComboExtraCombos [get]
 References the extra combos data. More...
 
List< SuitComboStockCombos [get]
 References the stock combos data. More...
 

Detailed Description

Stores the data loaded from the NEW_SUITCOMBOS nodes, and references the stock combos.

Member Function Documentation

SuitCombo SuitCombos.GetCombo ( string  comboId)
inline

Get the SuitCombo with this id from any List

Parameters
comboIdidentifier string
Returns
Null if id not found
Texture SuitCombos.GetDefaultTexture ( ProtoCrewMember  crew,
SuitCombo.TextureTarget  textureTarget,
Material  partMaterial,
SuitCombo.MaterialProperty  materialProperty 
)
inline

Returns the default texture associated to the crew genre and the suit type.

Parameters
crewReferences the ProtoCrewMember to suit up.
textureTargetThe target of the requested texture. Suit helmet, suit body, suit neck ring or the material normal.
partMaterialThe part material that uses the requested texture.
materialPropertyThe material property that uses the texture.
Returns
void SuitCombos.UpdateTextureScale ( Material  suitMaterial,
Vector2  scaleUpdate,
SuitCombo.MaterialProperty  materialProperty 
)
inline

Set-ups the material properties to use the assigned texture.

Parameters
suitMaterialThe target material.
scaleUpdateThe texture scale (Tiling).
materialPropertyThe material property that uses the texture.

Member Data Documentation

HelmetSuitPickerWindow SuitCombos.helmetSuitPickerWindow

References the HelmetSuitPickerWindow.

ConfigNode [] SuitCombos.nodeNewCombos

Stores the users combo cfg nodes.

Property Documentation

List<SuitCombo> SuitCombos.DefaultCombos
get

References the default combos data.

List<SuitCombo> SuitCombos.ExtraCombos
get

References the extra combos data.

List<SuitCombo> SuitCombos.StockCombos
get

References the stock combos data.


The documentation for this class was generated from the following file: