Navigation
Unreal Engine C++ API Reference > Editor > ContentBrowserData > UContentBrowserDataSource
- UContentBrowserDataSource::EnumerateItemsForObjects()
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 EnumerateItemsForObjects ( const [TArrayView](API\Runtime\Core\Containers\TArrayView)< [UObject](API\Runtime\CoreUObject\UObject\UObject) * > InObjects, [TFunctionRef](API\Runtime\Core\GenericPlatform\TFunctionRef)< bool([FContentBrowserItemData](API\Editor\ContentBrowserData\FContentBrowserItemData) &&)> InCallback )
Remarks
Enumerate the items (files) that exist for the given objects.
Multiple items may have the same virtual path if they are different types, or come from different data sources.
Parameters
Name | Description |
---|---|
InObjects | The objects to enumerate |
InCallback | The function to invoke for each matching item (return true to continue enumeration). |