IContentBrowserSingleton::SyncBrowserTo

Selects the supplied assets in the primary content browser.

Windows
MacOS
Linux

References

Module

ContentBrowser

Header

/Engine/Source/Editor/ContentBrowser/Public/IContentBrowserSingleton.h

Include

#include "IContentBrowserSingleton.h"

Syntax

void SyncBrowserTo
(
    const FContentBrowserSelection & ItemSelection,
    bool bAllowLockedBrowsers,
    bool bFocusContentBrowser,
    const FName & InstanceName,
    bool bNewSpawnBrowser
)

Remarks

Selects the supplied assets in the primary content browser.

Parameters

Parameter

Description

ItemSelection

A struct containing AssetData and Folders 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.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss