Component:ScaleAligner

From Resonite Wiki
Revision as of 16:37, 2 February 2025 by 989onan (talk | contribs) (add info)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Component image 
Scale Aligner component as seen in the Scene Inspector

The ScaleAligner component scales a list of slots based on bounding box, each one being bigger/smaller than the last.

Fields

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. Some components stop their functionality when this field is disabled, but some don't.
AutoAddChildren Bool Controls whether slots below this component's slot in the hierarchy are automatically added to _targets
BaseSize Float3 The size the first item should be in local space based on Bounding box.
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 How much to make the next item in the list bigger/smaller than the last by multiplying its Bounding box size after adding Increment
NonUniform Bool Whether scaling can be non uniform for Bounding box Scale calculations.
_targets list of Target A list of slots and their scales to influence.

Target

Fields
Name Type Description
TargetSlot Slot The slot this Target entry is targeting.
ScaleDrive field drive of Float3 The scale field of TargetSlot.

Usage

This article or section is a Stub. You can help the Resonite Wiki by expanding it.


Examples

This article or section is a Stub. You can help the Resonite Wiki by expanding it.


See Also