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

A label field for display data More...

Inheritance diagram for KSP.UI.Screens.AppUIMemberSliderFloat:
KSP.UI.Screens.AppUIMember KSP.UI.Screens.AppUIMemberSliderFloatMultiLine

Public Attributes

float maxValue = 1
 
float minValue = 0
 
Slider valueSlider
 
bool wholeNumbers = false
 
- Public Attributes inherited from KSP.UI.Screens.AppUIMember
AppUI_Control.HorizontalAlignment guiNameHorizAlignment = AppUI_Control.HorizontalAlignment.Left
 The horizontal alignment for the guiName text. More...
 
TextMeshProUGUI guiNameLabel
 
AppUI_Control.VerticalAlignment guiNameVertAlignment = AppUI_Control.VerticalAlignment.Midline
 The vertical alignment for the guiName text. More...
 
bool hideOnError
 If set true will hide this control in error states. More...
 
int order
 Sort order index for this parameter in the panel More...
 
bool showGuiName = true
 

Protected Member Functions

override void OnInitialized ()
 Overridable Method called after a member is correctly set up More...
 
override void OnRefreshUI ()
 Method called in subclasses when refreshUI is called More...
 
- Protected Member Functions inherited from KSP.UI.Screens.AppUIMember
object GetValue ()
 Get the value of the underlying member More...
 
GetValue< T > ()
 
virtual void OnAwake ()
 Overridable Method called at end of Unity Awake More...
 
virtual void OnStart ()
 Overridable Method called at end of Unity Start More...
 
virtual void OnUpdate ()
 Overridable Method called at end of Unity Update More...
 
bool SetValue (object newValue)
 Set the value of the underlying member More...
 

Additional Inherited Members

- Public Member Functions inherited from KSP.UI.Screens.AppUIMember
void RefreshUI ()
 Method called for refreshing the UI More...
 
void SetHoverTextTarget (TextMeshProUGUI textTargetForHover)
 
virtual void Setup (AppUI_Data host, MemberInfo member, AppUI_Control attribs, AppUIInputPanel parentPanel)
 Setup the UI element from the host, member and attributes More...
 
- Static Public Member Functions inherited from KSP.UI.Screens.AppUIMember
static int SortByOrder (AppUIMember m1, AppUIMember m2)
 Sort AppUIMembers by ascending order More...
 
- Protected Attributes inherited from KSP.UI.Screens.AppUIMember
AppUI_Control _attribs
 
FieldInfo _field
 
AppUI_Data _host
 
MemberInfo _member
 
PropertyInfo _property
 
RectTransform guiNameLabelRectTransform = null
 
List< UIHoverTexthoverTextList
 List of hover text elemants that should have their help text set by this component More...
 
bool isEnum
 
VerticalLayoutGroup parentLayoutGroup = null
 The layout group of the parent More...
 
AppUIInputPanel parentPanel = null
 The panel that is holding this member More...
 
RectTransform valueHolderRectTransform = null
 
Vector2 valueRectOffsetMin
 
Type valueType
 
- Properties inherited from KSP.UI.Screens.AppUIMember
string guiName [get, set]
 The field's gui name More...
 
string HoverText [get, set]
 WHat to change the panels textTargetForHover to when mouse is over this More...
 
bool IsInitialized [get, set]
 Did the reflected member get all set up correctly More...
 
string Name [get]
 The Member Name More...
 

Detailed Description

A label field for display data

Member Function Documentation

override void KSP.UI.Screens.AppUIMemberSliderFloat.OnInitialized ( )
inlineprotectedvirtual

Overridable Method called after a member is correctly set up

Reimplemented from KSP.UI.Screens.AppUIMember.

Reimplemented in KSP.UI.Screens.AppUIMemberSliderFloatMultiLine.

override void KSP.UI.Screens.AppUIMemberSliderFloat.OnRefreshUI ( )
inlineprotectedvirtual

Method called in subclasses when refreshUI is called

Implements KSP.UI.Screens.AppUIMember.

Reimplemented in KSP.UI.Screens.AppUIMemberSliderFloatMultiLine.

Member Data Documentation

float KSP.UI.Screens.AppUIMemberSliderFloat.maxValue = 1
float KSP.UI.Screens.AppUIMemberSliderFloat.minValue = 0
Slider KSP.UI.Screens.AppUIMemberSliderFloat.valueSlider
bool KSP.UI.Screens.AppUIMemberSliderFloat.wholeNumbers = false

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