Version: Unity 6.7 Alpha (6000.7)
LanguageEnglish
  • C#

AccessibilityScrollDirection

enumeration

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

Describes the direction of a scrolling action.


The values in this enumeration are used by the AccessibilityNode.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:

Properties

Property Description
Unknown The direction of the scrolling action is unknown.
Forward The user wants to move the visible region to the next portion of the content, along its main scrolling axis.
Backward The user wants to move the visible region to the previous portion of the content, along its main scrolling axis.
Left The user wants to move the visible region toward the left edge of the content, revealing the content to the left.
Right The user wants to move the visible region toward the right edge of the content, revealing the content to the right.
Up The user wants to move the visible region toward the top of the content, revealing the content above.
Down The user wants to move the visible region toward the bottom of the content, revealing the content below.