Table of Contents

Class UIValue_ReadNumber_TextUnits

Namespace
KSP.UI.Binding
Assembly
Assembly-CSharp.dll
public class UIValue_ReadNumber_TextUnits : UIValueBinder<double>, IUIDataContextBindable, IUIValueBinder, IUIValueBinder<double>, IUIValueBindable<double>, IUIValueNumberBindable, IUIValueBindable
Inheritance
UIValue_ReadNumber_TextUnits
Implements
Inherited Members
Extension Methods

Constructors

UIValue_ReadNumber_TextUnits()

public UIValue_ReadNumber_TextUnits()

Methods

Awake()

protected override void Awake()

BindValue(IProperty, double, double)

public void BindValue(IProperty valueNumberProperty, double min, double max)

Parameters

valueNumberProperty IProperty
min double
max double

ForceConversion(bool, int)

public void ForceConversion(bool forceConvert, int unitEntryIndex = 0)

Parameters

forceConvert bool
unitEntryIndex int

RedrawValue(bool)

public override void RedrawValue(bool instant = true)

Parameters

instant bool

SetMappedValueRange(double, double, bool)

public void SetMappedValueRange(double min, double max, bool shouldRedraw = true)

Parameters

min double
max double
shouldRedraw bool