Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Attributes | List of all members
KSP.UI.AppUI_SliderFloat Class Reference

A numeric slider More...

Inheritance diagram for KSP.UI.AppUI_SliderFloat:
KSP.UI.AppUI_Control KSP.UI.AppUI_SliderFloatMultiLine

Public Attributes

float maxValue = 1
 maxValue for the Slider More...
 
float minValue = 0
 minValue for the Slider More...
 
bool wholeNumbers = false
 Whether to only show whole numbers More...
 
- Public Attributes inherited from KSP.UI.AppUI_Control
string guiName
 The name display text of the control More...
 
HorizontalAlignment guiNameHorizAlignment = HorizontalAlignment.Left
 The horizontal alignment for the guiName text. More...
 
VerticalAlignment guiNameVertAlignment = VerticalAlignment.Midline
 The vertical alignment for the guiName text. More...
 
bool hideOnError = false
 Whether to hide this control during error states. More...
 
string hoverText
 hovertext to be set on any configured hovertext elements - this only shows on XSelectable controls (eg not labels) More...
 
int order
 Sort order index for this parameter in the panel More...
 
bool showGuiName = true
 Whether the guiName is shown alongside the value/input More...
 

Additional Inherited Members

- Public Types inherited from KSP.UI.AppUI_Control
enum  HorizontalAlignment { HorizontalAlignment.None, HorizontalAlignment.Left, HorizontalAlignment.Middle, HorizontalAlignment.Right }
 Limited set of alignment values for horizontal TMP More...
 
enum  VerticalAlignment { VerticalAlignment.Top, VerticalAlignment.Bottom, VerticalAlignment.Midline, VerticalAlignment.Capline }
 Limited set of alignment values for vertical TMP More...
 
- Public Member Functions inherited from KSP.UI.AppUI_Control
 AppUI_Control ()
 

Detailed Description

A numeric slider

Member Data Documentation

float KSP.UI.AppUI_SliderFloat.maxValue = 1

maxValue for the Slider

float KSP.UI.AppUI_SliderFloat.minValue = 0

minValue for the Slider

bool KSP.UI.AppUI_SliderFloat.wholeNumbers = false

Whether to only show whole numbers


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