Table of Contents

Class RangeSlider

Namespace
JLChnToZ.VRC.VVMW

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

string

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

bool

RangeEnd

The end of the range, represented by the right handle. Value is between 0 and 1.

public float RangeEnd { get; set; }

Property Value

float

RangeStart

The start of the range, represented by the left handle. Value is between 0 and 1.

public float RangeStart { get; set; }

Property Value

float

Methods

SetRange(float, float)

public void SetRange(float start, float end)

Parameters

start float
end float