Slider#
-
class Slider#
A control for choosing a number by dragging a handle along a track. Added to a
Canvasor aPanel.Base class:InputControlInherited Members
From
InputControl:changed,set_changedFrom
Control:interactable,set_interactable,color,set_color,tooltip,set_tooltipFrom
Object:rect_transform,layout_element,visible,set_visible,remove
-
float value()#
-
void set_value(float value)#
The value of the slider, between
Slider::min()andSlider::max(). Setting a value outside the range is refused.
-
float min()#
-
void set_min(float 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
Slider::max().
-
float max()#
-
void set_max(float 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
Slider::min().