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
Gauge Class Reference
Inheritance diagram for Gauge:

Public Member Functions

void setValue (double val)
 
void setValue (float val)
 
void startSound (bool start)
 

Public Attributes

LED led
 
GaugeLEDRange[] ledRanges
 
float logarithmic
 Logarithmic base to display value. Leave at 0 for linear More...
 
float maxRot
 
float maxValue
 
float minRot
 
float minValue
 
Transform pointer
 
float rawValue
 
float responsiveness
 
Vector3 rotationAxis = Vector3.forward
 

Properties

float Value [get]
 returns the normalized value of this gauge (read-only. use SetValue to change the value) More...
 

Member Function Documentation

void Gauge.setValue ( double  val)
inline
void Gauge.setValue ( float  val)
inline
void Gauge.startSound ( bool  start)
inline

Member Data Documentation

LED Gauge.led
GaugeLEDRange [] Gauge.ledRanges
float Gauge.logarithmic

Logarithmic base to display value. Leave at 0 for linear

float Gauge.maxRot
float Gauge.maxValue
float Gauge.minRot
float Gauge.minValue
Transform Gauge.pointer
float Gauge.rawValue
float Gauge.responsiveness
Vector3 Gauge.rotationAxis = Vector3.forward

Property Documentation

float Gauge.Value
get

returns the normalized value of this gauge (read-only. use SetValue to change the value)


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