Kerbal Space Program
1.12.4
|
A numeric slider More...
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 () | |
A numeric slider
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