Component:RootCategoryView

From Resonite Wiki
Revision as of 19:33, 1 February 2025 by 989onan (talk | contribs) (add info)
Component image 
Root Category View component as seen in the Scene Inspector

The RootCategoryView component is commonly used in Settings, and Worlds Menu view to show the list of root view categories while still showing the current Path like audio device lists, trackers, worlds, or anything else feeds might have.

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.
Feed IDataFeedComponent The feed to get data from.
Path direct SyncFieldList`1<String> The path within the feed to send to ItemsManager.
GroupingKeys direct SyncFieldList`1<String>
SearchPhrase String The phrase to search for within the current Path
UpdatingUser direct UserRef The user handling the logic for this component.
ResetViewOnSave Bool Whether to clear the view upon saving this component.
CategoryManager direct DataFeedItemMappingManager The Mapper to handle showing categories in the root regardless of what Path is.
ItemsManager direct DataFeedItemMappingManager The Mapper to handle showing items within a selected category, no matter how deep of a Path this is viewing.

Sync Delegates

Lua error in mw.text.lua at line 25: bad argument #1 to 'match' (string expected, got nil).
Triggers
Method Name Method type and Arguments. Is the method hidden? Description

Usage

Attach to a slot and provide a Feed, a Item Mapper, and Slots to place items in order for it to work.

Examples

Used in the settings and world views.

See Also