Navigation
Unreal Engine C++ API Reference > Plugins > ContentBrowserAssetDataSource > UContentBrowserAssetDataSource
References
Module | ContentBrowserAssetDataSource |
Header | /Engine/Plugins/Editor/ContentBrowser/ContentBrowserAssetDataSource/Source/ContentBrowserAssetDataSource/Public/ContentBrowserAssetDataSource.h |
Include | #include "ContentBrowserAssetDataSource.h" |
Source | /Engine/Plugins/Editor/ContentBrowser/ContentBrowserAssetDataSource/Source/ContentBrowserAssetDataSource/Private/ContentBrowserAssetDataSource.cpp |
static bool CreatePathFilter
(
FAssetFilterInputParams & Params,
FName InPath,
const FContentBrowserDataFilter & InFilter,
FContentBrowserDataCompiledFilter & OutCompiledFilter,
FSubPathEnumerationFunc SubPathEnumeration
)
Remarks
Call in CompileFilter() after PopulateAssetFilterInputParams() to fill OutCompiledFilter with an FContentBrowserCompiledAssetDataFilter capable of filtering folders false if it's not possible to display any folders, otherwise true
Parameters
Name | Description |
---|---|
Params | The params generated from PopulateAssetFilterInputParams() |
InPath | The input path supplied to CompileFilter() |
InFilter | The input filter supplied to CompileFilter() |
OutCompiledFilter | The output filer supplied to CompileFilter() |
SubPathEnumeration | A function that calls its input function on all subpaths of the given input path, optionally recursive |