m ProbablePrime moved page ScrollRect (Component) to Component:ScrollRect: Creating component Namespace |
Automated: update Fields, Categories |
||
Line 19: | Line 19: | ||
{{Table ComponentFields | {{Table ComponentFields | ||
|NormalizedPosition|Float2|The scroll position between (0,0) and (1,1) with (0,0) being the lower left corner. | |NormalizedPosition|Float2|The scroll position between (0,0) and (1,1) with (0,0) being the lower left corner. | ||
|HorizontalAlign|LayoutHorizontalAlignment| | |HorizontalAlign|LayoutHorizontalAlignment| | ||
|VerticalAlign|LayoutVerticalAlignment| | |VerticalAlign|LayoutVerticalAlignment| | ||
|ViewportOverride|RectTransform| | |ViewportOverride|'''[[Component:RectTransform|RectTransform]]'''|TypeAdv3=true| | ||
|__legacyContent|RectTransform| | |__legacyContent|'''[[Component:RectTransform|RectTransform]]'''|TypeAdv4=true| | ||
}} | }} | ||
Line 34: | Line 34: | ||
== Related Components == | == Related Components == | ||
</translate> | </translate> | ||
[[Category:Components{{#translation:}}| | [[Category:Components{{#translation:}}|Scroll Rect]] | ||
[[Category:ComponentStubs]] | [[Category:ComponentStubs]] | ||
[[Category:Components:UIX:Interaction{{#translation:}}| | [[Category:Components:UIX:Interaction{{#translation:}}|Scroll Rect]] |
Revision as of 21:39, 3 March 2024
This article or section is a Stub. You can help the Resonite Wiki by expanding it.
Component image
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
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 |