![]() |
GearBlocks
The GearBlocks Lua scripting API
|
Provides access to a UI slider's properties. More...
Properties | |
float | Value [get, set] |
The slider value. | |
float | MaxValue [get, set] |
The maximum value. | |
float | MinValue [get, set] |
The minimum value. | |
bool | WholeNumbers [get, set] |
Is the slider restricted to whole numbers? | |
string | ValueDisplayFormat [get, set] |
The value display format string. | |
Events | |
ValueChangedHandler | OnChanged |
Event that is raised when the slider value is changed. | |
Provides access to a UI slider's properties.
|
getset |
The slider value.
The current value of this slider.
Implemented in SmashHammer.UI.LabelledSlider, and SmashHammer.UI.Slider.
|
getset |
The maximum value.
The maximum value that this slider can have.
Implemented in SmashHammer.UI.Slider.
|
getset |
The minimum value.
The minimum value that this slider can have.
Implemented in SmashHammer.UI.Slider.
|
getset |
Is the slider restricted to whole numbers?
true
if this slider should snap to integer values; otherwise, false
.
Implemented in SmashHammer.UI.Slider.
|
getset |
The value display format string.
The format string used by this slider for showing its current value as text.
Implemented in SmashHammer.UI.Slider.