Automated: update Fields |
template for now |
||
Line 7: | Line 7: | ||
== Usage == | == Usage == | ||
{{Table ComponentFields | {{Table ComponentFields | ||
|SelectedItem|BrowserItem| | |SelectedItem|BrowserItem| The currently selected item being highlighted. | ||
|_previousSelectedItem|BrowserItem| | |_previousSelectedItem|BrowserItem| The item previously highlighted. | ||
|AllowSelect|Bool| | |AllowSelect|Bool| Whether this file browser allows selecting item elements. | ||
|ItemSize|Float| | |ItemSize|Float| How big the items are on the view. | ||
|_selectedText|'''[[Component:Text|Text]]'''|TypeAdv4=true| | |_selectedText|'''[[Component:Text|Text]]'''|TypeAdv4=true| The text to fill with the name of the selected item. | ||
|_pathRoot|Slot| | |_pathRoot|Slot| The root of the area being used to display the current path. | ||
|_buttonsRoot|Slot| | |_buttonsRoot|Slot| The root of the area being used to show the different button actions. | ||
|_folderGrid|'''[[Component:GridLayout|GridLayout]]'''|TypeAdv7=true| | |_folderGrid|'''[[Component:GridLayout|GridLayout]]'''|TypeAdv7=true| The grid layout Component being used to align the folders in the directory. | ||
|_itemGrid|'''[[Component:GridLayout|GridLayout]]'''|TypeAdv8=true| | |_itemGrid|'''[[Component:GridLayout|GridLayout]]'''|TypeAdv8=true| The grid layout Component being used to align the files in the directory. | ||
|_tabSprite|'''[[Component:SpriteProvider|SpriteProvider]]'''|TypeAdv9=true| | |_tabSprite|'''[[Component:SpriteProvider|SpriteProvider]]'''|TypeAdv9=true| The sprite being used to show the tab sprite. | ||
|_loadingIndicator|Slot| | |_loadingIndicator|Slot| The slot that stores the loading indicator for a newly opened directory. | ||
|_swapper|'''[[Component:SlideSwapRegion|SlideSwapRegion]]'''|TypeAdv11=true| | |_swapper|'''[[Component:SlideSwapRegion|SlideSwapRegion]]'''|TypeAdv11=true| The component to handle the slide animation when opening a different directory. | ||
|CustomItemSpawn|{{RootFieldType|SyncDelegate`1|[[Type:Action`1|Action`1]]<[[Type:Record|Record]]>}}|TypeAdv12=true| | |CustomItemSpawn|{{RootFieldType|SyncDelegate`1|[[Type:Action`1|Action`1]]<[[Type:Record|Record]]>}}|TypeAdv12=true| | ||
|_user|{{RootFieldType|UserRef}}|TypeAdv13=true| | |_user|{{RootFieldType|UserRef}}|TypeAdv13=true| |
Revision as of 18:00, 18 February 2025
Component image 
Inventory Browser component as seen in the Scene Inspector

This article or section is a Stub. You can help the Resonite Wiki by expanding it.
Usage
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. |
SelectedItem
|
BrowserItem | The currently selected item being highlighted. |
_previousSelectedItem
|
BrowserItem | The item previously highlighted. |
AllowSelect
|
Bool | Whether this file browser allows selecting item elements. |
ItemSize
|
Float | How big the items are on the view. |
_selectedText
|
Text | The text to fill with the name of the selected item. |
_pathRoot
|
Slot | The root of the area being used to display the current path. |
_buttonsRoot
|
Slot | The root of the area being used to show the different button actions. |
_folderGrid
|
GridLayout | The grid layout Component being used to align the folders in the directory. |
_itemGrid
|
GridLayout | The grid layout Component being used to align the files in the directory. |
_tabSprite
|
SpriteProvider | The sprite being used to show the tab sprite. |
_loadingIndicator
|
Slot | The slot that stores the loading indicator for a newly opened directory. |
_swapper
|
SlideSwapRegion | The component to handle the slide animation when opening a different directory. |
CustomItemSpawn
|
delegate of identity Action`1<Record> | |
_user
|
direct UserRef | |
_autoReinitialize
|
Bool | |
_initFunction
|
delegate of identity Func`1<RecordDirectory> | |
_currentPath
|
String | |
_currentOwnerId
|
String | |
_addNewButton
|
Button | |
_deleteButton
|
Button | |
_inventoriesButton
|
Button | |
_shareButton
|
Button | |
_unshareButton
|
Button | |
_copyLink
|
Button | |
_addCurrentAvatar
|
Button | |
_lastSpecialItemType
|
SpecialItemType |