struct UISliderData
Information about the current state of the UI’s SliderBehavior. You can use this information to draw or react to the slider’s activities.
Instance Fields and Properties
BtnState activeState | This is the current frame’s “active” state for the button. |
Vec2 buttonCenter | The center location of where the slider’s interaction element is. |
float fingerOffset | The current distance of the finger, within the pressable volume of the slider, from the bottom of the slider. |
BtnState focusState | This is the current frame’s “focus” state for the button. |
int interactor | The interactor that is currently driving the activity or focus of the slider. Or -1 if there is no interaction. |
Found an issue with these docs, or have some additional questions? Create an Issue on Github!