989onan bot (talk | contribs) Automated: update Fields |
add needed info |
||
Line 2: | Line 2: | ||
<translate> | <translate> | ||
<!--T:1--> | <!--T:1--> | ||
{{Infobox Component | {{Infobox Component | ||
|Image=SphereAlignerComponent.png | |Image=SphereAlignerComponent.png | ||
Line 13: | 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> | ||
|AutoAddIgnoreTags|{{RootFieldType|SyncFieldList`1|[[Type:String|String]]}}|TypeAdv1=true| | |AutoAddIgnoreTags|{{RootFieldType|SyncFieldList`1|[[Type:String|String]]}}|TypeAdv1=true| Do not add slots to the list of children automatically if it's tag is contained in this list. | ||
|Radius|Float| The radius of the sphere to align items into | |Radius|Float| The radius of the sphere to align items into | ||
|DistributionOffset|Float| Shift the positions of the items along the sphere surface, redistributes. | |DistributionOffset|Float| Shift the positions of the items along the sphere surface, redistributes. | ||
Line 26: | Line 25: | ||
== Item == | == Item == | ||
{{Table TypeFields | {{Table TypeFields | ||
|Root|Slot| The slot this is pointing to. | |||
|_position|{{RootFieldType|FieldDrive`1|[[Type:Float3|Float3]]}}|TypeAdv1=true| <code>Root</code>'s position field to drive. | |||
|_rotation|{{RootFieldType|FieldDrive`1|[[Type:FloatQ|FloatQ]]}}|TypeAdv2=true| <code>Root</code>'s rotation field to drive. | |||
}} | }} | ||
Line 38: | Line 39: | ||
<!--T:5--> | <!--T:5--> | ||
== | == See Also == | ||
</translate> | </translate> | ||
[[Category:Components{{#translation:}}|Sphere Aligner]] | [[Category:Components{{#translation:}}|Sphere Aligner]] | ||
[[Category:Components With Nested Types{{#translation:}}|Sphere Aligner]] | [[Category:Components With Nested Types{{#translation:}}|Sphere Aligner]] | ||
[[Category:Components:Transform:Drivers{{#translation:}}|Sphere Aligner]] | [[Category:Components:Transform:Drivers{{#translation:}}|Sphere Aligner]] |
Latest revision as of 00:21, 3 August 2025
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
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
|
AutoAddIgnoreTags
|
direct SyncFieldList`1<String> | Do not add slots to the list of children automatically if it's tag is contained in this list. |
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 SphereAligner.Item | A list of items to align into the sphere shape. |
Item
Name | Type | Description |
---|---|---|
Root
|
Slot | The slot this is pointing to. |
_position
|
field drive of Float3 | Root 's position field to drive.
|
_rotation
|
field drive of FloatQ | Root 's rotation field to drive.
|