FAssetPickerConfig

A struct containing details about how the asset picker should behave

Windows
MacOS
Linux

References

Module

ContentBrowser

Header

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

Include

#include "IContentBrowserSingleton.h"

Syntax

struct FAssetPickerConfig

Remarks

A struct containing details about how the asset picker should behave

Variables

Name Description

Public variable

TArray< FAssetD...

 

AdditionalReferencingAssets

The passed in property handle will be used to gather referencing assets.

Public variable

TAttribute< FTe...

 

AssetShowWarningText

The text to show when there are no assets to show

Public variable

bool

 

bAddFilterUI

Indicates that we would like to build the filter UI with the Asset Picker

Public variable

bool

 

bAllowDragging

Whether to allow dragging of items

Public variable

bool

 

bAllowNullSelection

If true, a "None" item will always appear at the top of the list

Public variable

bool

 

bAutohideSearchBar

If false, auto-hide the search bar above

Public variable

bool

 

bCanShowClasses

Indicates if this view is allowed to show classes

Public variable

bool

 

bCanShowDevelopersFolder

Indicates if the 'Show Developers' option should be enabled or disabled

Public variable

bool

 

bCanShowFolders

Indicates if the 'Show folders' option should be enabled or disabled

Public variable

bool

 

bCanShowRealTimeThumbnails

Indicates if the 'Real-Time Thumbnails' option should be enabled or disabled

Public variable

bool

 

bFocusSearchBoxWhenOpened

If true, the search box will gain focus when the asset picker is created

Public variable

bool

 

bForceShowEngineContent

Indicates if engine content should always be shown

Public variable

bool

 

bForceShowPluginContent

Indicates if plugin content should always be shown

Public variable

bool

 

bPreloadAssetsForContextMenu

Indicates if the context menu is going to load the assets, and if so to preload before the context menu is shown, and warn about the pending load.

Public variable

bool

 

bShowBottomToolbar

If true, show the bottom toolbar which shows # of assets selected, view mode buttons, etc...

Public variable

bool

 

bShowPathInColumnView

If true, show path in column view

Public variable

bool

 

bShowTypeInColumnView

If true, show class in column view

Public variable

bool

 

bSortByPathInColumnView

If true, sort by path in column view. Only works if initial view type is Column

Public variable

TArray< FCollec...

 

Collections

Only display results in these collections

Public variable

TArray< FAssetV...

 

CustomColumns

List of custom columns that fill out data with a callback

Public variable

EAssetTypeCateg...

 

DefaultFilterMenuExpansion

Override the default filter context menu layout

Public variable

TArray< TShared...

 

ExtraFrontendFilters

Custom front end filters to be displayed

Public variable

FARFilter

 

Filter

The asset registry filter to use to cull results

Public variable

TArray< FGetCur...

 

GetCurrentSelectionDelegates

An array of pointers to existing delegates which the AssetView will register a function which returns the current selection

Public variable

TArray< FString...

 

HiddenColumnNames

The names of columns to hide by default in the column view

Public variable

FAssetData

 

InitialAssetSelection

The asset that should be initially selected

Public variable

EAssetViewType:...

 

InitialAssetViewType

The default view mode

Public variable

FOnAssetDoubleC...

 

OnAssetDoubleClicked

The delegate that fires when an asset is double clicked

Public variable

FOnAssetEnterPr...

 

OnAssetEnterPressed

The delegate that fires when an asset has enter pressed while selected

Public variable

FOnAssetsActiva...

 

OnAssetsActivated

The delegate that fires when any number of assets are activated

Public variable

FOnAssetSelecte...

 

OnAssetSelected

The delegate that fires when an asset was selected

Public variable

FOnShouldDispla...

 

OnAssetTagWantsToBeDisplayed

This delegate will be called in Details view when a new asset registry searchable tag is encountered, to determine if it should be displayed or not.

Public variable

FOnAssetToolTip...

 

OnAssetToolTipClosing

Fired when an asset item's tooltip is closing

Public variable

FOnPathSelected

 

OnFolderEntered

The delegate that fires when a folder was double clicked

Public variable

FOnGetAssetCont...

 

OnGetAssetContextMenu

The delegate that fires when an asset is right clicked and a context menu is requested

Public variable

FOnGetCustomAss...

 

OnGetCustomAssetToolTip

Fired when an asset item is constructed and a tooltip is requested.

Public variable

FOnGetCustomSou...

 

OnGetCustomSourceAssets

Called to add extra asset data to the asset view, to display virtual assets.

Public variable

FOnGetFolderCon...

 

OnGetFolderContextMenu

The delegate that fires when a folder is right clicked and a context menu is requested

Public variable

FOnIsAssetValid...

 

OnIsAssetValidForCustomToolTip

Called to see if it is valid to get a custom asset tool tip

Public variable

FOnShouldFilter...

 

OnShouldFilterAsset

If more detailed filtering is required than simply Filter, this delegate will get fired for every asset to determine if it should be culled.

Public variable

FOnVisualizeAss...

 

OnVisualizeAssetToolTip

Fired when an asset item is about to show its tool tip

Public variable

TSharedPtr< cla...

 

PropertyHandle

The handle to the property that opened this picker. Needed for contextual filtering.

Public variable

TArray< FRefres...

 

RefreshAssetViewDelegates

A pointer to an existing delegate that, when executed, will refresh the asset view.

Public variable

FString

 

SaveSettingsName

If set, view settings will be saved and loaded for the asset view using this name in ini files

Public variable

ESelectionMode:...

 

SelectionMode

The selection mode the picker should use

Public variable

TArray< FSetARF...

 

SetFilterDelegates

A pointer to an existing delegate that, when executed, will set the filter an the asset picker after it is created.

Public variable

TArray< FSyncTo...

 

SyncToAssetsDelegates

An array of pointers to existing delegates which the AssetView will register a function which sync the asset list

Public variable

EThumbnailLabel...

 

ThumbnailLabel

The contents of the label on the thumbnail

Public variable

TAttribute< flo...

 

ThumbnailScale

The default scale for thumbnails. [0-1] range

Constructors

Name Description

Public function

FAssetPickerConfig()

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