Automated: update Fields, Categories |
Basic clean up. Added field descriptions. |
||
Line 2: | Line 2: | ||
<translate> | <translate> | ||
<!--T:1--> | <!--T:1--> | ||
{{Infobox Component | {{Infobox Component | ||
|Image=RectTransformLerpComponent.png | |Image=RectTransformLerpComponent.png | ||
Line 9: | Line 8: | ||
<!--T:2--> | <!--T:2--> | ||
The '''RectTransformLerp''' component takes the [[Component:RectTransform|RectTransform]] that's on the same [[Slot|slot]] and lerps the size & scale of the RectTransform. | |||
The RectTransformLerp component takes the [[RectTransform | |||
<!--T:3--> | <!--T:3--> | ||
{{Table ComponentFields | {{Table ComponentFields | ||
|Lerp|Float| | |Lerp|Float|The amount to lerp by. | ||
|SourceRect|'''[[Component:RectTransform|RectTransform]]'''|TypeAdv1=true| | |SourceRect|'''[[Component:RectTransform|RectTransform]]'''|TypeAdv1=true|The [[Component:RectTransform|RectTransform]] to lerp. | ||
}} | }} | ||
<!--T:4--> | <!--T:4--> | ||
== | == Usage == | ||
<!--T:5--> | <!--T:5--> | ||
Line 29: | Line 26: | ||
</translate> | </translate> | ||
[[Category:Components{{#translation:}}|Rect Transform Lerp]] | [[Category:Components{{#translation:}}|Rect Transform Lerp]] | ||
[[Category:Components:UIX:Utility{{#translation:}}|Rect Transform Lerp]] | [[Category:Components:UIX:Utility{{#translation:}}|Rect Transform Lerp]] |
Latest revision as of 01:53, 29 July 2024
Component image
The RectTransformLerp component takes the RectTransform that's on the same slot and lerps the size & scale of the RectTransform.
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. |
Lerp
|
Float | The amount to lerp by. |
SourceRect
|
RectTransform | The RectTransform to lerp. |