Component:CircleAligner: Difference between revisions

From Resonite Wiki
m stub
Automated: update Categories, SyncDelegates
Line 14: Line 14:
{{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|
|Axis|Float3| The axis around which the slots will be aligned.
|Axis|Float3| The axis around which the slots will be aligned.
|Radius|Float| The radius of the circle that the slots will be positioned on.
|Radius|Float| The radius of the circle that the slots will be positioned on.
Line 20: Line 21:
|FillWholeArc|Bool| If true, the last slot will be at the very end of the arch, otherwise there will be a gap after the last slots.
|FillWholeArc|Bool| If true, the last slot will be at the very end of the arch, otherwise there will be a gap after the last slots.
|RotationOffset|Float| An offset, in degrees, that is applied to the rotation of the target slots.
|RotationOffset|Float| An offset, in degrees, that is applied to the rotation of the target slots.
|Items|{{RootFieldType|SyncList`1|[[#Item|Item]]}}|TypeAdv7=true| The list of slots to be aligned.
|Items|{{RootFieldType|SyncList`1|[[#Item|Item]]}}|TypeAdv8=true| The list of slots to be aligned.
}}
}}


Line 45: Line 46:
[[Category:Components{{#translation:}}|Circle Aligner]]
[[Category:Components{{#translation:}}|Circle Aligner]]
[[Category:Components With Nested Types{{#translation:}}|Circle Aligner]]
[[Category:Components With Nested Types{{#translation:}}|Circle Aligner]]
[[Category:ComponentStub]]
[[Category:Components:Transform:Drivers{{#translation:}}|Circle Aligner]]
[[Category:Components:Transform:Drivers{{#translation:}}|Circle Aligner]]

Revision as of 16:41, 17 December 2024


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


Component image 
Circle Aligner component as seen in the Scene Inspector


The CircleAligner component is used to position a list of slots in a circle.

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
AutoAddIgnoreTags direct SyncFieldList`1<String>
Axis Float3 The axis around which the slots will be aligned.
Radius Float The radius of the circle that the slots will be positioned on.
Offset Float Offsets the starting position of the circle.
Arc Float 360 by default. If smaller, the slots will only fill that section of a circle. Likewise, if it is larger than 360, the slots will wrap around the circle multiple times.
FillWholeArc Bool If true, the last slot will be at the very end of the arch, otherwise there will be a gap after the last slots.
RotationOffset Float An offset, in degrees, that is applied to the rotation of the target slots.
Items list of Item The list of slots to be aligned.

Item

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


Fields
Name Type Description


Usage

Examples

Related Issues

Related Components