Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Member Functions | Public Attributes | List of all members
InternalButtonLight Class Reference
Inheritance diagram for InternalButtonLight:
InternalModule

Public Member Functions

void Button_OnTap ()
 
override void OnAwake ()
 
void SetLight (bool on)
 
- Public Member Functions inherited from InternalModule
void Load (ConfigNode node)
 
virtual void OnFixedUpdate ()
 
virtual void OnLoad (ConfigNode node)
 
virtual void OnSave (ConfigNode node)
 
virtual void OnUpdate ()
 
void Save (ConfigNode node)
 

Public Attributes

Color buttonColorOff = Color.black
 
Color buttonColorOn = Color.green
 
string buttonName = "button"
 
Collider buttonObject
 
bool defaultValue = false
 
Color lightColor = Color.white
 
float lightIntensityOff = 0f
 
float lightIntensityOn = 1f
 
string lightName = "light"
 
Light[] lightObjects
 
bool lightsOn
 
bool useButtonColor = false
 
- Public Attributes inherited from InternalModule
InternalProp internalProp
 
int moduleID
 

Additional Inherited Members

- Properties inherited from InternalModule
int ClassID [get]
 
string ClassName [get]
 
BaseEventList Events [get]
 
BaseFieldList Fields [get]
 
InternalModel internalModel [get]
 
Part part [get]
 
Vessel vessel [get]
 

Member Function Documentation

void InternalButtonLight.Button_OnTap ( )
inline
override void InternalButtonLight.OnAwake ( )
inlinevirtual

Reimplemented from InternalModule.

void InternalButtonLight.SetLight ( bool  on)
inline

Member Data Documentation

Color InternalButtonLight.buttonColorOff = Color.black
Color InternalButtonLight.buttonColorOn = Color.green
string InternalButtonLight.buttonName = "button"
Collider InternalButtonLight.buttonObject
bool InternalButtonLight.defaultValue = false
Color InternalButtonLight.lightColor = Color.white
float InternalButtonLight.lightIntensityOff = 0f
float InternalButtonLight.lightIntensityOn = 1f
string InternalButtonLight.lightName = "light"
Light [] InternalButtonLight.lightObjects
bool InternalButtonLight.lightsOn
bool InternalButtonLight.useButtonColor = false

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