Component:ArcLayout

From Resonite Wiki
Revision as of 10:27, 28 July 2024 by AmasterAmaster (talk | contribs) (Fixed links.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Component image 
ArcLayout component as seen in the Scene Inspector


The ArcLayout is a component primarily used in a user's context menu. It requires a set of slots under the slot the component is attached to, and each slot needs an OutlinedArc Component and an ArcSegmentLayout Component.

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.
Arc Float The amount of the circle in degrees to cover with the arc elements.
Offset Float the amount to rotate the arc elements around the center in degrees from the default position.
Separation Float how much to separate the elements from each other.
CenterAtSeparation Bool Centers the separation point of this layout.
ProportionalSize Bool Keep all segments of the arc proportional in size.
ItemDirection Direction How to arrange the elements in order from the initial position.

Usage

Examples

Related Components