Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


AccessibilityScrollDirection

Describes the direction of a scrolling action.
Read time 1 minuteLast updated 7 days ago

Definition

public enum AccessibilityScrollDirection : byte

Remarks

The values in this enumeration are used by the _scrolled event, which is sent when a screen reader user performs a scrolling action.
Each direction describes how the visible region of the content should move: AccessibilityScrollDirection.Up and AccessibilityScrollDirection.Left should move the visible region toward the start of the content, revealing the content above or to the left of it, and AccessibilityScrollDirection.Down and AccessibilityScrollDirection.Right should move it toward the end. AccessibilityScrollDirection.Forward and AccessibilityScrollDirection.Backward should scroll to the next and previous portion of the content along its main scrolling axis.
Additional Resources:

Fields

Value

Description

BackwardThe user wants to move the visible region to the previous portion of the content, along its main scrolling axis.
DownThe user wants to move the visible region toward the bottom of the content, revealing the content below.
ForwardThe user wants to move the visible region to the next portion of the content, along its main scrolling axis.
LeftThe user wants to move the visible region toward the left edge of the content, revealing the content to the left.
RightThe user wants to move the visible region toward the right edge of the content, revealing the content to the right.
UnknownThe direction of the scrolling action is unknown.
UpThe user wants to move the visible region toward the top of the content, revealing the content above.