ScrollRect (Component)

From Neos Wiki
Jump to navigation Jump to search
This page contains changes which are not marked for translation.


This article or section is a Stub. You can help the Neos Wiki by expanding it.


ScrollRect component as seen in the Scene Inspector

Intoduction

ScrollRect is a component for making a child with a RectTransform scroll.

ScrollRect will not do any clipping on its own. If it is a child of an object with a Mask component, it effectively becomes a window into the scrolled content.

Usage

Fields
Name Type Description
persistent Bool Determines whether or not this item will be saved to the server.
UpdateOrder Int Controls the order in which this component is updated
Enabled Bool Controls whether or not this component is enabled
NormalizedPosition Float2 The scroll position between (0,0) and (1,1) with (0,0) being the lower left corner.
HorizontalAlign LayoutHorizontalAlignment
VerticalAlign LayoutVerticalAlignment
ViewportOverride RectTransform
__legacyContent RectTransform

Behavior

Examples

Related Components