Slider#
- class UI.Slider()#
A control for choosing a number by dragging a handle along a track. Added to a
UI.Canvasor aUI.Panel.Base class:UI.InputControlInherited Members
- Slider.getValue()#
- Slider.setValue(value)#
The value of the slider, between
UI.Slider.getMin()andUI.Slider.getMax(). Setting a value outside the range is refused.- Property:
Can be read or written
- Return type:
number
- Slider.getMin()#
- Slider.setMin(value)#
The value at the low end of the slider, which is its left hand end, or the bottom of a vertical slider. Must not be greater than
UI.Slider.getMax().- Property:
Can be read or written
- Return type:
number
- Slider.getMax()#
- Slider.setMax(value)#
The value at the high end of the slider, which is its right hand end, or the top of a vertical slider. Must not be less than
UI.Slider.getMin().- Property:
Can be read or written
- Return type:
number