IContentBrowserSingleton::SyncBrowserToAssets

Selects the supplied assets in the primary content browser.

Unreal Engine C++ API Reference > Editor > ContentBrowser > IContentBrowserSingleton > SyncBrowserToAssets

References

   
Module ContentBrowser
Header /Engine/Source/Editor/ContentBrowser/Public/IContentBrowserSingleton.h
Include #include "IContentBrowserSingleton.h"
void SyncBrowserToAssets
(
    const [TArray](API\Runtime\Core\Containers\TArray)< struct [FAssetData](API\Runtime\CoreUObject\AssetRegistry\FAssetData) > & AssetDataList,
    bool bAllowLockedBrowsers,
    bool bFocusContentBrowser,
    const [FName](API\Runtime\Core\UObject\FName) & InstanceName,
    bool bNewSpawnBrowser
)

Remarks

Selects the supplied assets in the primary content browser.

Parameters

Name Description
AssetList An array of AssetDataList structs 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.

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library