Navigation
API > API/Editor > API/Editor/ContentBrowser > API/Editor/ContentBrowser/Experimental
References
| Module | ContentBrowser |
| Header | /Engine/Source/Editor/ContentBrowser/Public/Experimental/ContentBrowserViewExtender.h |
| Include | #include "Experimental/ContentBrowserViewExtender.h" |
Syntax
class IContentBrowserViewExtender
Remarks
Interface that can be used to add a custom view to the Content Browser NOTE: This API is likely to change as it is being actively iterated on
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Clear the current selection in the view. | ||
| TSharedRef< SWidget > | CreateView
(
TArray< TSharedPtr< FAssetViewItem > >* InItemsSource |
Create the widget for the view with the given input items. | |
| void | FocusList () |
Transfer focus to the internal view widget. | |
| TArray< TSharedPtr< FAssetViewItem > > | Get the items selected by the custom view. | ||
| FText | Get a display name for the view used in the Settings menu. | ||
| FText | Get a tooltip for the custom view. | ||
| bool | True if the view is currently right click scrolling | ||
| FOnContextMenuOpening & | Delegate the extender must fire when the context menu is opened on the list. | ||
| FOnMouseButtonClick & | Delegate the extender must fire when an item is double clicked. | ||
| void | OnItemListChanged
(
TArray< TSharedPtr< FAssetViewItem > >* InItemsSource |
Function called when the items source has some changes and the view needs a refresh. | |
| FOnItemScrolledIntoView & | Delegate the extender must fire when an item is scrolled into view in the UI. | ||
| FOnSelectionChanged & | Delegate the extender must fire when the selection in the UI changes. | ||
| void | RequestScrollIntoView
(
const TSharedPtr< FAssetViewItem >& Item |
Scroll the given item into view. | |
| void | SetSelection
(
const TSharedPtr< FAssetViewItem >& Item, |
Select the given item in the view. |
Typedefs
| Name | Description |
|---|---|
| FOnItemScrolledIntoView | |
| FOnMouseButtonClick | |
| FOnSelectionChanged |