C# Class TweakScale.ScaleType

Configuration values for TweakScale.
Show file Open project: Biotronic/TweakScale Class Usage Examples

Public Properties

Property Type Description
AttachNodes NodeInfo>.Dictionary
DefaultScale float
Exponents ScaleExponents>.Dictionary
Family string
IsFreeScale bool
MaxValue float
MinValue float
Name string
Suffix string
TechRequired string[]

Public Methods

Method Description
Equals ( object obj ) : bool
GetHashCode ( ) : int
ScaleType ( ConfigNode config ) : System.Collections.Generic
ToString ( ) : string
operator ( ) : bool

Protected Methods

Method Description
Equals ( ScaleType other ) : bool

Private Methods

Method Description
GetNodeFactors ( ConfigNode node, NodeInfo>.Dictionary source ) : NodeInfo>.Dictionary
GetScaleConfig ( string name ) : ScaleType

Fetches the scale ScaleType with the specified name.

ScaleType ( ) : System.Collections.Generic

Method Details

Equals() protected method

protected Equals ( ScaleType other ) : bool
other ScaleType
return bool

Equals() public method

public Equals ( object obj ) : bool
obj object
return bool

GetHashCode() public method

public GetHashCode ( ) : int
return int

ScaleType() public method

public ScaleType ( ConfigNode config ) : System.Collections.Generic
config ConfigNode
return System.Collections.Generic

ToString() public method

public ToString ( ) : string
return string

operator() public static method

public static operator ( ) : bool
return bool

Property Details

AttachNodes public property

public Dictionary AttachNodes
return NodeInfo>.Dictionary

DefaultScale public property

public float DefaultScale
return float

Exponents public property

public Dictionary Exponents
return ScaleExponents>.Dictionary

Family public property

public string Family
return string

IsFreeScale public property

public bool IsFreeScale
return bool

MaxValue public property

public float MaxValue
return float

MinValue public property

public float MinValue
return float

Name public property

public string Name
return string

Suffix public property

public string Suffix
return string

TechRequired public property

public string[] TechRequired
return string[]