Navigation
Unreal Engine C++ API Reference > Editor > ContentBrowserData > UContentBrowserDataSource
- UContentBrowserDataSource::EnumerateItemsAtPaths()
References
Module | ContentBrowserData |
Header | /Engine/Source/Editor/ContentBrowserData/Public/ContentBrowserDataSource.h |
Include | #include "ContentBrowserDataSource.h" |
Source | /Engine/Source/Editor/ContentBrowserData/Private/ContentBrowserDataSource.cpp |
virtual bool EnumerateItemsAtPaths ( const [TArrayView](API\Runtime\Core\Containers\TArrayView)< [FContentBrowserItemPath](API\Editor\ContentBrowserData\FContentBrowserItemPath) > InPaths, const EContentBrowserItemTypeFilter InItemTypeFilter, [TFunctionRef](API\Runtime\Core\GenericPlatform\TFunctionRef)< bool([FContentBrowserItemData](API\Editor\ContentBrowserData\FContentBrowserItemData) &&)> InCallback )
Remarks
Enumerate the items (folders and/or files) that exist at the given content browser paths.
Multiple items may have the same virtual path if they are different types, or come from different data sources.
Parameters
Name | Description |
---|---|
InPaths | The paths to search for |
InItemTypeFilter | The types of items we want to find. |
InCallback | The function to invoke for each matching item (return true to continue enumeration). |