FPathPickerConfig

A struct containing details about how the path 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 FPathPickerConfig  

Remarks

A struct containing details about how the path picker should behave

Variables

Type Name Description
bool: 1 bAddDefaultPath If true, will add the path specified in DefaultPath to the tree if it doesn't exist already
bool: 1 bAllowClassesFolder If true, will allow class folders to be shown in the picker
bool: 1 bAllowContextMenu If false, the context menu will not open when an item is right clicked
bool: 1 bAllowReadOnlyFolders If true, will allow read-only folders to be shown in the picker
bool: 1 bFocusSearchBoxWhenOpened If true, the search box will gain focus when the path picker is created
bool: 1 bOnPathSelectedPassesVirtualPaths If true, passes virtual paths to OnPathSelected instead of internal asset paths
bool: 1 bShowFavorites Whether or not to show the favorites selector.
TSharedPtr< FPa... CustomFolderPermissionList Custom Folder permissions to be used to filter folders in this Path Picker.
FString DefaultPath The initial path to select. Leave empty to skip initial selection.
FOnGetFolderCon... OnGetFolderContextMenu The delegate that fires when a folder is right clicked and a context menu is requested
FContentBrowser... OnGetPathContextMenuExtender The delegate that fires when a path is right clicked and a context menu is requested
FOnPathSelected OnPathSelected The delegate that fires when a path was selected
TArray< FSetPat... SetPathsDelegates A pointer to an existing delegate that, when executed, will set the paths for the path picker after it is created.

Constructors

Type Name Description
  FPathPickerConfig ()  

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library