Struct Slider
Base class for GUI sliders.
struct Slider
;
Properties
| Name | Type | Description |
|---|---|---|
editable[get, set]
|
bool | If true, the slider can be interacted with. If false, the value can be changed only by code.
|
scrollable[get, set]
|
bool | If true, the value can be changed using the mouse wheel.
|
tickCount[get, set]
|
long | Number of ticks displayed on the slider, including border ticks. Ticks are uniformly-distributed value markers. |
ticksOnBorders[get, set]
|
bool | If true, the slider will display ticks for minimum and maximum values.
|
Methods
| Name | Description |
|---|---|
_guiInput
|
|
getTicks
|
|
getTicksOnBorders
|
|
isEditable
|
|
isScrollable
|
|
setEditable
|
|
setScrollable
|
|
setTicks
|
|
setTicksOnBorders
|