Component:ArcSegmentLayout

From Resonite Wiki
Revision as of 10:45, 28 July 2024 by AmasterAmaster (talk | contribs) (Added a description, added field descriptions, added a usage description.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Component image 
ArcSegmentLayout component as seen in the Scene Inspector


The ArcSegmentLayout component is used with ArcLayout, and separates the arc layout into equal segments defined in that component. When using this component, it will be very resistant to change as it is listening on the ArcLayout for the art amount, size, and ratios.

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.
Nested RectTransform The rect transform to hold the segments of the arc layout.
NestedSizeRatio Float The size ratio for this arc segment.
Label Text The label text for the arc segment.
LabelSize Float2 The label text size for the arc segment.
LabelDistance Float The label text distance from the arc segment.

Usage

This is used for the individual arc segment selection of the context menu.

Examples

Related Components