C# Class SSTUTools.SolarData

显示文件 Open project: shadowmage45/SSTULabs Class Usage Examples

Public Properties

Property Type Description
animationName string
energy float
modelName string
name string
panelsEnabled bool
pivotNames string
secPivotNames string
sunAxis string
sunNames string
upgradeName string

Public Methods

Method Description
SolarData ( ConfigNode node ) : System
disable ( ) : void
enable ( Transform root, float yOffset ) : void
getCost ( ) : float
getMass ( ) : float
getNames ( SolarData data, Part part, PartModule module ) : string[]
updateModelPosition ( float yOffset ) : void

Method Details

SolarData() public method

public SolarData ( ConfigNode node ) : System
node System.ConfigNode
return System

disable() public method

public disable ( ) : void
return void

enable() public method

public enable ( Transform root, float yOffset ) : void
root UnityEngine.Transform
yOffset float
return void

getCost() public method

public getCost ( ) : float
return float

getMass() public method

public getMass ( ) : float
return float

getNames() public static method

public static getNames ( SolarData data, Part part, PartModule module ) : string[]
data SolarData
part Part
module PartModule
return string[]

updateModelPosition() public method

public updateModelPosition ( float yOffset ) : void
yOffset float
return void

Property Details

animationName public_oe property

public string animationName
return string

energy public_oe property

public float energy
return float

modelName public_oe property

public string modelName
return string

name public_oe property

public string name
return string

panelsEnabled public_oe property

public bool panelsEnabled
return bool

pivotNames public_oe property

public string pivotNames
return string

secPivotNames public_oe property

public string secPivotNames
return string

sunAxis public_oe property

public string sunAxis
return string

sunNames public_oe property

public string sunNames
return string

upgradeName public_oe property

public string upgradeName
return string