Automated: create new component page |
Added a description, and a link to the rect transform page. |
||
Line 4: | Line 4: | ||
}} | }} | ||
{{stub}} | {{stub}} | ||
The '''RectTransformComputedProperties''' component is used to get the size of a [[UIX]] element that is contained in a [[Component:RectTransform|RectTransform]]. It takes in the RectTransform reference, and then returns a <code>LocalComputerRect</code>, which is the local bounds of the element, and returns the <code>BoundingRect</code>, which is the bounding rect itself (which can be larger than the local elements from within). Most of the time, both values would be the same, except for some situations. | |||
== Usage == | == Usage == | ||
Line 17: | Line 19: | ||
== See Also == | == See Also == | ||
The [[Component:RectTransform|RectTransform]] component is needed for this component to work. | |||
[[Category:Components:Debug{{#translation:}}|Rect Transform Computed Properties]] | [[Category:Components:Debug{{#translation:}}|Rect Transform Computed Properties]] | ||
[[Category:Components{{#translation:}}|Rect Transform Computed Properties]] | [[Category:Components{{#translation:}}|Rect Transform Computed Properties]] | ||
[[Category:ComponentStubs]] | [[Category:ComponentStubs]] |
Revision as of 14:18, 21 June 2024
Component image
This article or section is a Stub. You can help the Resonite Wiki by expanding it.
The RectTransformComputedProperties component is used to get the size of a UIX element that is contained in a RectTransform. It takes in the RectTransform reference, and then returns a LocalComputerRect
, which is the local bounds of the element, and returns the BoundingRect
, which is the bounding rect itself (which can be larger than the local elements from within). Most of the time, both values would be the same, except for some situations.
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. |
Rect
|
RectTransform | |
LocalComputeRect
|
raw output of Rect | |
BoundingRect
|
raw output of Rect |
Behavior
Examples
See Also
The RectTransform component is needed for this component to work.