Slider¶
Object ยท UI
A draggable track control that lets the player select a stepped value or continuous range.
Components¶
A new Slider starts with these components.
| Component | About |
|---|---|
| Box | Screen-space rectangle; scale is a parent fraction, offset pixels |
| UIOrder | Draw and list order among siblings |
| UISlider | A stepped track the player drags; the value is a place in a list, never a free number |
| UISliderState | The place a slider holds; a drag writes these two bytes and never the style |
| UISliderRange | Adds an upper thumb, so the slider picks a low and a high place |
| UISliderTicks | Draws a notch across the track at every step, under the thumb |
| UISliderArt | Paints the track, the fill and the thumb of the slider with textures |
| UISliderFormat | Draws the slider value over the track in this format |
| UIFloatSlider | A slider whose value moves freely from Min to Max |
| UIFloatSliderValue | The value a float slider holds; a drag writes these four bytes and never the range |
| UIHidden | Hides the entity and its subtree; the renderer skips it |
| UIDisabled | Draws the control dim and refuses the pointer and the key; absent means usable |
| UITransform | Turns and scales the element and its children after layout; the pointer follows the turned shape |