Component:LegacySegmentCircleMenuController

From Resonite Wiki
This article describes a feature marked as legacy—this usually means there's a newer, better alternative. Legacy features might not be removed but they will not be updated, and the team will not provide any support for them.
Component image 
Legacy Segment Circle Menu Controller component as seen in the Scene Inspector

This is a Legacy item and should not be used.

From a long dead platform. he who shall not be named on the holy land that is this wiki

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. Some components stop their functionality when this field is disabled, but some don't.
DefaultFontMaterial TextUnlitMaterial The default font to use for menu items.
DisabledOutlineColor ColorX The outline color menu items should have when disabled.
DisabledFillColor ColorX The color menu items should have when disabled.
LogoCircle Bool Whether this is a logo Circle from a long dead platform. he who shall not be named on the holy land that is this wiki - @989onan.
GenerateColliders Bool Whether to generate colliders for menu items.
HighlightRadiusOffset Float The tolerance for highlighting menu items.
logoMenuMesh LegacyCircleSegmentMesh The logo mesh from a long dead platform. he who shall not be named on the holy land that is this wiki - @989onan.
circleMenuItems list of LegacySegmentCircleMenuController.Item The list of menu items this component is managing.
independentMenuItems list of LegacySegmentCircleMenuController.Item The list of independent menu items this list is managing for other tools.
itemsArcs list of LegacySegmentCircleMenuController.ItemsArc The list of item arcs this component is managing.
_overridesDrive reference drive of SyncList`1<LegacyCircleSegmentMesh.MenuSegment> List of menu segments to use as overrides.
_independentDrive reference drive of SyncList`1<LegacyCircleSegmentMesh.MenuSegment> List of indepent drives of menu segments.
menuItemsSlot Slot Where to generate and place menu items for this component.

Sync Delegates

Triggers
Method Name Method type and Arguments. Is the method hidden? Description
MenuItemTouched:TouchEvent TouchEvent Called when a menu item is touched.

Item

Fields
Name Type Description
Enabled Bool Whether this item's button is enabled.
AngleStart Float The angle on the circle where this starts.
RadiusStart Float The inner radius from the center.
ArcLength Float How much of the circle in degrees this takes up.
Thickness Float The outer radius minus inner radius.
Label TextRenderer The text label for this menu item.
LabelColor ColorX The label color for this menu item.
OutlineColor ColorX The outline color of this Menu item.
FillColor ColorX The fill color of this Menu item
Pressed direct SyncDelegate<Action`1<Item>> The Sync delegate to call and pass this item as the value when this menu item is pressed.
IconMaterial UnlitMaterial The material for this Menu item's icon
IconTexture StaticTexture2D The texture used for this menu item's icon
RotateIcon Bool Whether to rotate the icon.
IconRoot Slot The root of the icon graphic.
Highlight Bool Whether this menu item is highlighted.
IconPosition field drive of Float3 The field of the icon's position.
IconRotation field drive of FloatQ The field of the icon's rotation.
IconScale field drive of Float3 The field of the icon's scale.
ColliderRoot Slot The root slot of the collider for this menu item.
ColliderPosition field drive of Float3 The field of the collider's position.
ColliderScale field drive of Float3 The field of the collider's scale.
ColliderRotation field drive of FloatQ The field of the collider's rotation.
LastPress Double The last time the button was pressed in world time.
LabelRoot Slot The slot of the label visual.
LabelPosition field drive of Float3 The position field of the label visual.
LabelScale field drive of Float3 The scale field of the label visual.
LabelColorDrive field drive of ColorX The color field of the label visual.

ItemsArc

Fields
Name Type Description
CenterItem Item The item to display in the center.
SeparationAngle Float How far apart the items should be.
_left list of ArcItem all the items to display along the left side.
_right list of ArcItem all the items to display along the right side.

ArcItem

Fields
Name Type Description
Item Item The item this arc item contains.
AngleStartDrive field drive of Float The field to drive with the starting position of this Menu item on the arc.

Usage

Just don't.

See Also