Table of Contents

Class OptionSliderContext

Namespace
KSP.UI
Assembly
Assembly-CSharp.dll
public class OptionSliderContext : ApiDataContext, IDisposable, IDataContext, IDataContextReadonly, IDataContextWritable
Inheritance
OptionSliderContext
Implements
Inherited Members
Extension Methods

Constructors

OptionSliderContext(string, string, float, float, float, bool)

public OptionSliderContext(string id, string sliderText, float minValue, float maxValue, float increment, bool isPercentage)

Parameters

id string
sliderText string
minValue float
maxValue float
increment float
isPercentage bool

Fields

Id

public string Id

Field Value

string

Increment

[DataProperty("increment")]
public Property<float> Increment

Field Value

Property<float>

IsPercentage

[DataProperty("isPercentage")]
public Property<bool> IsPercentage

Field Value

Property<bool>

SliderMaxValue

[DataProperty("sliderMaxValue")]
public Property<float> SliderMaxValue

Field Value

Property<float>

SliderMinValue

[DataProperty("sliderMinValue")]
public Property<float> SliderMinValue

Field Value

Property<float>

SliderText

[DataProperty("sliderText")]
public Property<string> SliderText

Field Value

Property<string>

SliderValue

[DataProperty("sliderValue")]
public Property<float> SliderValue

Field Value

Property<float>