| UContentBrowserDataSource::EnumerateItemsAtPath()
|
Module |
|
Header |
/Engine/Source/Editor/ContentBrowserData/Public/ContentBrowserDataSource.h |
Include |
#include "ContentBrowserDataSource.h" |
Source |
/Engine/Source/Editor/ContentBrowserData/Private/ContentBrowserDataSource.cpp |
virtual void EnumerateItemsAtPath
(
const FName InPath,
const EContentBrowserItemTypeFilter InItemTypeFilter,
TFunctionRef< bool &&)> InCallback
)
Enumerate items that have the given virtual path, optionally filtering by type, and invoking the callback for each matching item. @note This function must not block waiting on content discovery! It should use the current state as known at this point in time.
Parameter |
Description |
---|---|
InPath |
The virtual path to find items for. |
InItemTypeFilter |
The types of items we want to find. |
InCallback |
The function to invoke for each matching item (return true to continue enumeration). |