Navigation
API > API/Editor > API/Editor/ContentBrowser > API/Editor/ContentBrowser/IContentBrowserSingleton
References
| Module | ContentBrowser |
| Header | /Engine/Source/Editor/ContentBrowser/Public/IContentBrowserSingleton.h |
| Include | #include "IContentBrowserSingleton.h" |
void SyncBrowserToItems
&40;
const TArray< FContentBrowserItem > & ItemsToSync,
bool bAllowLockedBrowsers,
bool bFocusContentBrowser,
const FName & InstanceName,
bool bNewSpawnBrowser
&41;
Remarks
Selects the supplied items in the primary content browser.
Parameters
| Name | Description |
|---|---|
| ItemsToSync | An array of items to sync |
| bAllowLockedBrowsers | When true, even locked browsers may handle the sync. Only set to true if the sync doesn't seem external to the content browser |
| bFocusContentBrowser | When true, brings the ContentBrowser into the foreground. |
| InstanceName | When supplied, will only sync the Content Browser with the matching InstanceName. bAllowLockedBrowsers is ignored. |
| bNewSpawnBrowser | When supplied, will spawn a new Content Browser instead of selecting the assets in an existing one. |