UContentBrowserDataSource::EnumerateItemsMatchingFilter

Enumerate items that match the given compiled filter, invoking the callback for each matching item.

Unreal Engine C++ API Reference > Editor > ContentBrowserData > UContentBrowserDataSource

  • UContentBrowserDataSource::EnumerateItemsMatchingFilter()

References

   
Module ContentBrowserData
Header /Engine/Source/Editor/ContentBrowserData/Public/ContentBrowserDataSource.h
Include #include "ContentBrowserDataSource.h"
Source /Engine/Source/Editor/ContentBrowserData/Private/ContentBrowserDataSource.cpp
virtual void EnumerateItemsMatchingFilter
(
    const [FContentBrowserDataCompiledFilter](API\Editor\ContentBrowserData\FContentBrowserDataCompiledFilte-) & InFilter,
    [TFunctionRef](API\Runtime\Core\GenericPlatform\TFunctionRef)< bool([FContentBrowserItemData](API\Editor\ContentBrowserData\FContentBrowserItemData) &&)> InCallback
)

Remarks

Enumerate items that match the given compiled filter, invoking the callback for each matching item.

This function must not block waiting on content discovery! It should use the current state as known at this point in time.

Parameters

Name Description
InFilter The compiled filter used to find matching items.
InCallback The function to invoke for each matching item (return true to continue enumeration).

See Also

CompileFilter.


Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library