Struct Slider

Base class for GUI sliders.

struct Slider ;

Properties

NameTypeDescription
editable[get, set] boolIf true, the slider can be interacted with. If false, the value can be changed only by code.
scrollable[get, set] boolIf true, the value can be changed using the mouse wheel.
tickCount[get, set] longNumber of ticks displayed on the slider, including border ticks. Ticks are uniformly-distributed value markers.
ticksOnBorders[get, set] boolIf true, the slider will display ticks for minimum and maximum values.

Methods

NameDescription
_guiInput
getTicks
getTicksOnBorders
isEditable
isScrollable
setEditable
setScrollable
setTicks
setTicksOnBorders