Navigation
API > API/Editor > API/Editor/ContentBrowser
A struct containing details about how the asset picker should behave
| Name | FAssetPickerConfig |
| Type | struct |
| Header File | /Engine/Source/Editor/ContentBrowser/Public/IContentBrowserSingleton.h |
| Include Path | #include "IContentBrowserSingleton.h" |
Syntax
struct FAssetPickerConfig
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| IContentBrowserSingleton.h | |||
PRAGMA_DISABLE_DEPRECATION_WARNINGS FAssetPickerConfig
(
const FAssetPickerConfig& |
IContentBrowserSingleton.h | ||
| IContentBrowserSingleton.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AdditionalReferencingAssets | TArray< FAssetData > | The passed in property handle will be used to gather referencing assets. | IContentBrowserSingleton.h | |
| AssetShowWarningText | TAttribute< FText > | The text to show when there are no assets to show | IContentBrowserSingleton.h | |
| AssetViewOptionsProfile | TOptional< FName > | If specified, the asset view options menu will use this tool menu profile for customization purposes. | IContentBrowserSingleton.h | |
| bAddFilterUI | bool | Indicates that we would like to build the filter UI with the Asset Picker | IContentBrowserSingleton.h | |
| bAllowDragging | bool | Whether to allow dragging of items | IContentBrowserSingleton.h | |
| bAllowNullSelection | bool | If true, a "None" item will always appear at the top of the list | IContentBrowserSingleton.h | |
| bAllowRename | bool | Whether to allow renaming of items | IContentBrowserSingleton.h | |
| bAutohideSearchBar | bool | If false, auto-hide the search bar above | IContentBrowserSingleton.h | |
| bCanShowClasses | bool | Indicates if this view is allowed to show classes | IContentBrowserSingleton.h | |
| bCanShowDevelopersFolder | bool | Indicates if the 'Show Developers' option should be enabled or disabled | IContentBrowserSingleton.h | |
| bCanShowFolders | bool | Indicates if the 'Show folders' option should be enabled or disabled | IContentBrowserSingleton.h | |
| bCanShowReadOnlyFolders | bool | If true, will allow read-only folders to be shown in the picker | IContentBrowserSingleton.h | |
| bCanShowRealTimeThumbnails | bool | Indicates if the 'Real-Time Thumbnails' option should be enabled or disabled | IContentBrowserSingleton.h | |
| bFocusSearchBoxWhenOpened | bool | If true, the search box will gain focus when the asset picker is created | IContentBrowserSingleton.h | |
| bForceShowEngineContent | bool | Indicates if engine content should always be shown | IContentBrowserSingleton.h | |
| bForceShowPluginContent | bool | Indicates if plugin content should always be shown | IContentBrowserSingleton.h | |
| bShowBottomToolbar | bool | If true, show the bottom toolbar which shows # of assets selected, view mode buttons, etc... | IContentBrowserSingleton.h | |
| bShowPathInColumnView | bool | If true, show path in column view | IContentBrowserSingleton.h | |
| bShowTypeInColumnView | bool | If true, show class in column view | IContentBrowserSingleton.h | |
| bSortByPathInColumnView | bool | If true, sort by path in column view. Only works if initial view type is Column | IContentBrowserSingleton.h | |
| bUseSectionsForCustomFilterCategories | bool | If we display filters & set to true, we will add sections instead of sub-menus for other filters. | IContentBrowserSingleton.h | |
| Collections | TArray< FCollectionNameType > | IContentBrowserSingleton.h | ||
| CollectionsFilter | TArray< FCollectionRef > | Only display results in these collections | IContentBrowserSingleton.h | |
| CustomColumns | TArray< FAssetViewCustomColumn > | List of custom columns that fill out data with a callback | IContentBrowserSingleton.h | |
| DefaultFilterMenuExpansion | EAssetTypeCategories::Type | Override the default filter context menu layout | IContentBrowserSingleton.h | |
| ExtraFrontendFilters | TArray< TSharedRef< class FFrontendFilter > > | Custom front end filters to be displayed | IContentBrowserSingleton.h | |
| Filter | FARFilter | The asset registry filter to use to cull results | IContentBrowserSingleton.h | |
| FilterBarSaveSettingsNameOverride | TOptional< FString > | If set, will use this name for filter bar saving purposes instead of the SaveSettingsName. | IContentBrowserSingleton.h | |
| GetCurrentSelectionDelegates | TArray< FGetCurrentSelectionDelegate * > | An array of pointers to existing delegates which the AssetView will register a function which returns the current selection | IContentBrowserSingleton.h | |
| HiddenColumnNames | TArray< FString > | The names of columns to hide by default in the column view | IContentBrowserSingleton.h | |
| InitialAssetSelection | FAssetData | The asset that should be initially selected | IContentBrowserSingleton.h | |
| InitialAssetViewType | EAssetViewType::Type | The default view mode | IContentBrowserSingleton.h | |
| InitialThumbnailSize | EThumbnailSize | Initial thumbnail size | IContentBrowserSingleton.h | |
| ListHiddenColumnNames | TArray< FString > | The names of columns to hide by default in the list view, by default the Type column is hidden | IContentBrowserSingleton.h | |
| OnAssetDoubleClicked | FOnAssetDoubleClicked | The delegate that fires when an asset is double clicked | IContentBrowserSingleton.h | |
| OnAssetEnterPressed | FOnAssetEnterPressed | The delegate that fires when an asset has enter pressed while selected | IContentBrowserSingleton.h | |
| OnAssetsActivated | FOnAssetsActivated | The delegate that fires when any number of assets are activated | IContentBrowserSingleton.h | |
| OnAssetSelected | FOnAssetSelected | The delegate that fires when an asset was selected | IContentBrowserSingleton.h | |
| OnAssetTagWantsToBeDisplayed | FOnShouldDisplayAssetTag | 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. | IContentBrowserSingleton.h | |
| OnAssetToolTipClosing | FOnAssetToolTipClosing | Fired when an asset item's tooltip is closing | IContentBrowserSingleton.h | |
| OnExtendAddFilterMenu | TDelegate< void(UToolMenu *)> | Can be used to freely change the Add Filter menu. | IContentBrowserSingleton.h | |
| OnFolderEntered | FOnPathSelected | The delegate that fires when a folder was double clicked | IContentBrowserSingleton.h | |
| OnGetAssetContextMenu | FOnGetAssetContextMenu | The delegate that fires when an asset is right clicked and a context menu is requested | IContentBrowserSingleton.h | |
| OnGetCustomAssetToolTip | FOnGetCustomAssetToolTip | Fired when an asset item is constructed and a tooltip is requested. | IContentBrowserSingleton.h | |
| OnGetCustomSourceAssets | FOnGetCustomSourceAssets | Called to add extra asset data to the asset view, to display virtual assets. | IContentBrowserSingleton.h | |
| OnGetFolderContextMenu | FOnGetFolderContextMenu | The delegate that fires when a folder is right clicked and a context menu is requested | IContentBrowserSingleton.h | |
| OnIsAssetValidForCustomToolTip | FOnIsAssetValidForCustomToolTip | Called to see if it is valid to get a custom asset tool tip | IContentBrowserSingleton.h | |
| OnShouldFilterAsset | FOnShouldFilterAsset | If more detailed filtering is required than simply Filter, this delegate will get fired for every asset to determine if it should be culled. | IContentBrowserSingleton.h | |
| OnVisualizeAssetToolTip | FOnVisualizeAssetToolTip | Fired when an asset item is about to show its tool tip | IContentBrowserSingleton.h | |
| PropertyHandle | TSharedPtr< class IPropertyHandle > | The handle to the property that opened this picker. Needed for contextual filtering. | IContentBrowserSingleton.h | |
| RefreshAssetViewDelegates | TArray< FRefreshAssetViewDelegate * > | A pointer to an existing delegate that, when executed, will refresh the asset view. | IContentBrowserSingleton.h | |
| SaveSettingsName | FString | If set, view settings will be saved and loaded for the asset view using this name in ini files | IContentBrowserSingleton.h | |
| SelectionMode | ESelectionMode::Type | The selection mode the picker should use | IContentBrowserSingleton.h | |
| SetFilterDelegates | TArray< FSetARFilterDelegate * > | A pointer to an existing delegate that, when executed, will set the filter an the asset picker after it is created. | IContentBrowserSingleton.h | |
| SyncToAssetsDelegates | TArray< FSyncToAssetsDelegate * > | An array of pointers to existing delegates which the AssetView will register a function which sync the asset list | IContentBrowserSingleton.h | |
| ThumbnailLabel | EThumbnailLabel::Type | The contents of the label on the thumbnail | IContentBrowserSingleton.h | |
| ThumbnailScale | TAttribute< float > | The default scale for thumbnails. [0-1] range | IContentBrowserSingleton.h |
Functions
Public
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static bool IsNewStyleEnabled() |
IContentBrowserSingleton.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FAssetPickerConfig & operator=
(
const FAssetPickerConfig& |
IContentBrowserSingleton.h | ||
| IContentBrowserSingleton.h |