Component:ArcLayout: Difference between revisions

From Resonite Wiki
added more info
Automated: update Fields
Line 19: Line 19:
|CenterAtSeparation|Bool| {{Stub}}
|CenterAtSeparation|Bool| {{Stub}}
|ProportionalSize|Bool| {{Stub}}
|ProportionalSize|Bool| {{Stub}}
|ItemDirection|Direction| How to arrange the elements in order from the initial position
|ItemDirection|'''[[#Direction|Direction]]'''|TypeAdv5=true| How to arrange the elements in order from the initial position
}}
}}



Revision as of 01:08, 4 March 2024

Component image 
ArcLayout component as seen in the Scene Inspector


Introduction

Arc layout 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.

Usage

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 This article or section is a Stub. You can help the Resonite Wiki by expanding it.
ProportionalSize Bool This article or section is a Stub. You can help the Resonite Wiki by expanding it.
ItemDirection Direction How to arrange the elements in order from the initial position

Behavior

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


Examples

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


Related Components

OutlinedArc (Component) ArcSegmentLayout (Component)