FAssetPickerConfig

A struct containing details about how the asset picker should behave

Unreal Engine C++ API Reference > Editor > ContentBrowser

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

Type Name Description
TArray< FAssetD... AdditionalReferencingAssets The passed in property handle will be used to gather referencing assets.
TAttribute< FTe... AssetShowWarningText The text to show when there are no assets to show
bool bAddFilterUI Indicates that we would like to build the filter UI with the Asset Picker
bool bAllowDragging Whether to allow dragging of items
bool bAllowNullSelection If true, a "None" item will always appear at the top of the list
bool bAutohideSearchBar If false, auto-hide the search bar above
bool bCanShowClasses Indicates if this view is allowed to show classes
bool bCanShowDevelopersFolder Indicates if the 'Show Developers' option should be enabled or disabled
bool bCanShowFolders Indicates if the 'Show folders' option should be enabled or disabled
bool bCanShowReadOnlyFolders If true, will allow read-only folders to be shown in the picker
bool bCanShowRealTimeThumbnails Indicates if the 'Real-Time Thumbnails' option should be enabled or disabled
bool bFocusSearchBoxWhenOpened If true, the search box will gain focus when the asset picker is created
bool bForceShowEngineContent Indicates if engine content should always be shown
bool bForceShowPluginContent Indicates if plugin content should always be shown
bool bShowBottomToolbar If true, show the bottom toolbar which shows # of assets selected, view mode buttons, etc...
bool bShowPathInColumnView If true, show path in column view
bool bShowTypeInColumnView If true, show class in column view
bool bSortByPathInColumnView If true, sort by path in column view. Only works if initial view type is Column
TArray< FCollec... Collections Only display results in these collections
TArray< FAssetV... CustomColumns List of custom columns that fill out data with a callback
EAssetTypeCateg... DefaultFilterMenuExpansion Override the default filter context menu layout
TArray< TShared... ExtraFrontendFilters Custom front end filters to be displayed
FARFilter Filter The asset registry filter to use to cull results
TArray< FGetCur... GetCurrentSelectionDelegates An array of pointers to existing delegates which the AssetView will register a function which returns the current selection
TArray< FString... HiddenColumnNames The names of columns to hide by default in the column view
FAssetData InitialAssetSelection The asset that should be initially selected
EAssetViewType:... InitialAssetViewType The default view mode
FOnAssetDoubleC... OnAssetDoubleClicked The delegate that fires when an asset is double clicked
FOnAssetEnterPr... OnAssetEnterPressed The delegate that fires when an asset has enter pressed while selected
FOnAssetsActiva... OnAssetsActivated The delegate that fires when any number of assets are activated
FOnAssetSelecte... OnAssetSelected The delegate that fires when an asset was selected
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.
FOnAssetToolTip... OnAssetToolTipClosing Fired when an asset item's tooltip is closing
FOnPathSelected OnFolderEntered The delegate that fires when a folder was double clicked
FOnGetAssetCont... OnGetAssetContextMenu The delegate that fires when an asset is right clicked and a context menu is requested
FOnGetCustomAss... OnGetCustomAssetToolTip Fired when an asset item is constructed and a tooltip is requested.
FOnGetCustomSou... OnGetCustomSourceAssets Called to add extra asset data to the asset view, to display virtual assets.
FOnGetFolderCon... OnGetFolderContextMenu The delegate that fires when a folder is right clicked and a context menu is requested
FOnIsAssetValid... OnIsAssetValidForCustomToolTip Called to see if it is valid to get a custom asset tool tip
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.
FOnVisualizeAss... OnVisualizeAssetToolTip Fired when an asset item is about to show its tool tip
TSharedPtr< cla... PropertyHandle The handle to the property that opened this picker. Needed for contextual filtering.
TArray< FRefres... RefreshAssetViewDelegates A pointer to an existing delegate that, when executed, will refresh the asset view.
FString SaveSettingsName If set, view settings will be saved and loaded for the asset view using this name in ini files
ESelectionMode:... SelectionMode The selection mode the picker should use
TArray< FSetARF... SetFilterDelegates A pointer to an existing delegate that, when executed, will set the filter an the asset picker after it is created.
TArray< FSyncTo... SyncToAssetsDelegates An array of pointers to existing delegates which the AssetView will register a function which sync the asset list
EThumbnailLabel... ThumbnailLabel The contents of the label on the thumbnail
TAttribute< flo... ThumbnailScale The default scale for thumbnails. [0-1] range

Constructors

Type Name Description
  FAssetPickerConfig ()  

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library