Scroller
class in UnityEngine.UIElements · UnityEngine.UIElementsModule · inherits from VisualElement
In Tassix
A scroll bar: a slider with buttons at its ends; ScrollView's scrollers.
Constructors 1
Scroller()Scroller(float lowValue, float highValue, Action<float>? valueChanged, SliderDirection direction = SliderDirection.Vertical)Fields 6
static readonly string highButtonUssClassNamestatic readonly string horizontalVariantUssClassNamestatic readonly string lowButtonUssClassNamestatic readonly string sliderUssClassNamestatic readonly string ussClassNamestatic readonly string verticalVariantUssClassNameProperties 7
SliderDirection direction { get; set; }RepeatButton highButton { get; }float highValue { get; set; }RepeatButton lowButton { get; }float lowValue { get; set; }Slider slider { get; }float value { get; set; }Methods 3
void Adjust(float factor)void ScrollPageDown()void ScrollPageDown(float factor)void ScrollPageUp()void ScrollPageUp(float factor)Events 1
event Action<float>? valueChangedChecked against Unity
Conformance scenarios that exercise it, recorded in Unity and compared event by event.