Difference between revisions of "ScrollRect (Component)"
Jump to navigation
Jump to search
m |
|||
Line 13: | Line 13: | ||
'''ScrollRect''' is a component for making a child with a [[RectTransform (Component)|RectTransform]] scroll. | '''ScrollRect''' is a component for making a child with a [[RectTransform (Component)|RectTransform]] scroll. | ||
− | ScrollRect will not do any clipping on its own. If it is a child of an object with a [[Mask (Component)|Mask]] component, it becomes a | + | ScrollRect will not do any clipping on its own. If it is a child of an object with a [[Mask (Component)|Mask]] component, it effectively becomes a window into the scrolled content. |
<!--T:3--> | <!--T:3--> |
Latest revision as of 22:33, 16 April 2021
This article or section is a Stub. You can help the Neos Wiki by expanding it.
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 |