Navigation
API > API/Editor > API/Editor/ContentBrowser
A Content Source is a construct that can customize the look and behavior of the content browser through TEDS (Editor Data Storage) intended to replace the legacy asset specific content browser. Currently supports displaying an STedsTableViewer driven by a query specified by the content source in place of the legacy content browser layout and widgets Content Sources can be registered with IContentBrowserSingleton which will cause them to be displayed in a vertical toolbar next to the Content Browser allowing a user to select and activate them.
NOTE: This API is experimental and subject to change
| Name | IContentSource |
| Type | class |
| Header File | /Engine/Source/Editor/ContentBrowser/Public/ContentSources/IContentSource.h |
| Include Path | #include "ContentSources/IContentSource.h" |
Syntax
class IContentSource
Derived Classes
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~IContentSource() |
ContentSources/IContentSource.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void GetAssetViewInitParams
(
FTableViewerInitParams& OutInitParams |
Get the init params used by the TEDS Table Viewer when this content source is active. | ContentSources/IContentSource.h | |
FText GetDisplayName() |
Get the user facing name of the content source. | ContentSources/IContentSource.h | |
FSlateIcon GetIcon() |
Get an icon representing the content source. | ContentSources/IContentSource.h | |
FName GetName() |
Get the internal name of the content source. | ContentSources/IContentSource.h | |
virtual void OnContentSourceDisabled() |
Called when this content source is swapped out. | ContentSources/IContentSource.h | |
virtual void OnContentSourceEnabled() |
Called when this content source is switched in. | ContentSources/IContentSource.h |