(One intermediate revision by the same user not shown)
Line 2:
Line 2:
<translate>
<translate>
<!--T:1-->
<!--T:1-->
{{stub}}
{{Infobox Component
{{Infobox Component
|Image=ScaleAlignerComponent.png
|Image=ScaleAlignerComponent.png
|Name=Scale Aligner
|Name=Scale Aligner
}}
}}
The '''ScaleAligner''' component scales a list of slots based on bounding box, each one being bigger/smaller than the last.
<!--T:2-->
<!--T:2-->
Line 12:
Line 12:
{{Table ComponentFields
{{Table ComponentFields
|AutoAddChildren|Bool| Controls whether slots below this component's slot in the hierarchy are automatically added to <code>_targets</code>
|AutoAddChildren|Bool| Controls whether slots below this component's slot in the hierarchy are automatically added to <code>_targets</code>
|BaseSize|Float3|
|BaseSize|Float3| The size the first item should be in local space based on Bounding box.
|Increment|Float3|
|Increment|Float3| How much to make the next item in the list bigger/smaller than the last by adding to its Bounding box size.
|Multiplier|Float3|
|Multiplier|Float3| How much to make the next item in the list bigger/smaller than the last by multiplying its Bounding box size after adding <code>Increment</code>
|NonUniform|Bool|
|NonUniform|Bool| Whether scaling can be non uniform for Bounding box Scale calculations.