(One intermediate revision by one other user not shown)
Line 2:
Line 2:
<translate>
<translate>
<!--T:1-->
<!--T:1-->
{{stub}}
{{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| 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 21:
Line 21:
|HorizontalStart|Float| What point to start the alignment of items along the equator 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.
|HorizontalEnd|Float| What point to end the alignment of items along the equator of the sphere.
|Items|{{RootFieldType|SyncList`1|[[#Item|Item]]}}|TypeAdv9=true| A list of items to align into the sphere shape.
|Items|{{RootFieldType|SyncList`1|[[#Item|SphereAligner.Item]]}}|TypeAdv10=true| A list of items to align into the sphere shape.
}}
}}
== Item ==
== Item ==
{{stub}}
{{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.