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 <code>Path</code> like audio device lists, trackers, worlds, or anything else feeds might have.
== Usage ==
== Fields ==
{{Table ComponentFields
{{Table ComponentFields
|Feed|IDataFeedComponent|
|Feed|IDataFeedComponent| The feed to get data from.
|CategoryManager|{{RootFieldType|DataFeedItemMappingManager}}|TypeAdv6=true| The Mapper to handle showing categories in the root regardless of what <code>Path</code> is.
|ItemsManager|{{RootFieldType|DataFeedItemMappingManager}}|TypeAdv7=true| The Mapper to handle showing items within a selected category, no matter how deep of a <code>Path</code> this is viewing.
|PathSegmentName()|[[Type:PathSegmentConverter|PathSegmentConverter]]<[[Type:String|String]]: pathSegment, [[Type:Int|Int]]: depth>| Turns a string representing a Path location into a number representing how far down it is in the feed.
}}
}}
== Behavior ==
== Usage ==
Attach to a slot and provide a [[Type:IDataFeedView|Feed]], a [[Component:DataFeedItemMapper|Item Mapper]], and Slots to place items in order for it to work.
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.