Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Member Functions | Public Attributes | Protected Member Functions | List of all members
KSP.UI.Screens.HelixGauge Class Reference
Inheritance diagram for KSP.UI.Screens.HelixGauge:

Public Member Functions

float GetAngle (float v)
 

Public Attributes

float angleAtMaxValue = 1f
 
float angleAtMinValue = 1f
 
float currentAngle
 
float currentValue
 
float FillatMaxValue = 1f
 
float FillatMinValue = 0.0f
 
float MaxValue = 1.0f
 
float MinValue = 0.0f
 
RectTransform readoutField
 
float readoutStandoff = 180f
 
bool showReadout
 
Image tgtImage
 

Protected Member Functions

float GetAngle180 (float v)
 
float GetAngle360 (float v)
 
float GetAngle90 (float v)
 
Vector3 GetReadoutWorldPos (float gaugeAngle, float spacing, Transform trf)
 
void UpdateReadoutField ()
 

Member Function Documentation

float KSP.UI.Screens.HelixGauge.GetAngle ( float  v)
inline
float KSP.UI.Screens.HelixGauge.GetAngle180 ( float  v)
inlineprotected
float KSP.UI.Screens.HelixGauge.GetAngle360 ( float  v)
inlineprotected
float KSP.UI.Screens.HelixGauge.GetAngle90 ( float  v)
inlineprotected
Vector3 KSP.UI.Screens.HelixGauge.GetReadoutWorldPos ( float  gaugeAngle,
float  spacing,
Transform  trf 
)
inlineprotected
void KSP.UI.Screens.HelixGauge.UpdateReadoutField ( )
inlineprotected

< UI scale for the standoff

Member Data Documentation

float KSP.UI.Screens.HelixGauge.angleAtMaxValue = 1f
float KSP.UI.Screens.HelixGauge.angleAtMinValue = 1f
float KSP.UI.Screens.HelixGauge.currentAngle
float KSP.UI.Screens.HelixGauge.currentValue
float KSP.UI.Screens.HelixGauge.FillatMaxValue = 1f
float KSP.UI.Screens.HelixGauge.FillatMinValue = 0.0f
float KSP.UI.Screens.HelixGauge.MaxValue = 1.0f
float KSP.UI.Screens.HelixGauge.MinValue = 0.0f
RectTransform KSP.UI.Screens.HelixGauge.readoutField
float KSP.UI.Screens.HelixGauge.readoutStandoff = 180f
bool KSP.UI.Screens.HelixGauge.showReadout
Image KSP.UI.Screens.HelixGauge.tgtImage

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