Class RangeSlider
A dual-handle slider for selecting a range. The left handle is the start of the range, and the right handle is the end of the range.
public class RangeSlider : UdonSharpEventSender
- Inheritance
-
RangeSlider
Fields
callbackEventName
The event name to send when the value of the slider changes.
public string callbackEventName
Field Value
Properties
Interactable
Whether the slider is interactable. If false, the slider will not respond to user input and will not send events when the value changes.
public bool Interactable { get; set; }
Property Value
RangeEnd
The end of the range, represented by the right handle. Value is between 0 and 1.
public float RangeEnd { get; set; }
Property Value
RangeStart
The start of the range, represented by the left handle. Value is between 0 and 1.
public float RangeStart { get; set; }
Property Value
Methods
SetRange(float, float)
public void SetRange(float start, float end)