Component:SphereAligner

From Resonite Wiki
Revision as of 18:02, 26 October 2024 by 989onan (talk | contribs) (add info)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


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


Component image 
Sphere Aligner component as seen in the Scene Inspector

Sphere aligner is a component that has a list of child slots under Items and aligns those items into a spherical shape.

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.
AutoAddChildren Bool Controls whether slots below this component's slot in the hierarchy are automatically added to _targets
Radius Float The radius of the sphere to align items into
DistributionOffset Float Shift the positions of the items along the sphere surface, redistributes.
AlignToNormal Bool Whether to rotate the items to align them to the surface of the sphere
RotationOffset FloatQ How much to rotate the sphere of aligned items by their individual origins
NormalizedStart Float What point to start the alignment of items from top to bottom of the sphere.
NormalizedEnd Float What point to end the alignment of items from top to bottom of the sphere.
HorizontalStart Float What point to start the alignment of items along the equator of the sphere.
HorizontalEnd Float What point to end the alignment of items along the equator of the sphere.
Items list of Item A list of items to align into the sphere shape.

Usage

Examples

Related Components