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

Public Member Functions

void SetNextToValue (float nextAngle)
 Set Angle of the Next marker. Used to calculate the Offset for the Text readout. More...
 
void SetTextField (string text, int opacity)
 Set the Text Field. More...
 
void ToggleOffsetMarker (bool active)
 Set the stage marker (line) active or not. More...
 
- Public Member Functions inherited from KSP.UI.Screens.RotationalGauge
void SetValue (double val)
 
virtual void SetValue (float val)
 

Protected Member Functions

override void Awake ()
 
override void LateUpdate ()
 
void OnDestroy ()
 
void Start ()
 

Properties

double StageDV [get, set]
 This is the current DeltaV for the Stage this marker represents. More...
 
- Properties inherited from KSP.UI.Screens.RotationalGauge
float CurrentAngle [get]
 
float CurrentValue [get]
 
float Value [get, set]
 

Additional Inherited Members

- Public Attributes inherited from KSP.UI.Screens.RotationalGauge
float logarithmic = 0f
 
float maxRot = 90f
 
float maxValue = 1f
 
float minRot = 0f
 
float minValue = 0f
 
RectTransform pointer
 
float responsiveness = 10f
 
Vector3 rotationAxis = Vector3.forward
 
- Protected Attributes inherited from KSP.UI.Screens.RotationalGauge
float currentAngle
 
float currentValue
 
float targetValue
 

Member Function Documentation

override void KSP.UI.Screens.RotationalGaugeOffsetMarker.Awake ( )
inlineprotectedvirtual

Reimplemented from KSP.UI.Screens.RotationalGauge.

override void KSP.UI.Screens.RotationalGaugeOffsetMarker.LateUpdate ( )
inlineprotectedvirtual

Reimplemented from KSP.UI.Screens.RotationalGauge.

void KSP.UI.Screens.RotationalGaugeOffsetMarker.OnDestroy ( )
inlineprotected
void KSP.UI.Screens.RotationalGaugeOffsetMarker.SetNextToValue ( float  nextAngle)
inline

Set Angle of the Next marker. Used to calculate the Offset for the Text readout.

Parameters
nextAngle
void KSP.UI.Screens.RotationalGaugeOffsetMarker.SetTextField ( string  text,
int  opacity 
)
inline

Set the Text Field.

Parameters
textThe Text String (stage Number)
opacityOpacity (25f-255f)
void KSP.UI.Screens.RotationalGaugeOffsetMarker.Start ( )
inlineprotected
void KSP.UI.Screens.RotationalGaugeOffsetMarker.ToggleOffsetMarker ( bool  active)
inline

Set the stage marker (line) active or not.

Parameters
active

Property Documentation

double KSP.UI.Screens.RotationalGaugeOffsetMarker.StageDV
getset

This is the current DeltaV for the Stage this marker represents.


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