UContentBrowserDataSource::EnumerateItemsAtPath

Enumerate items that have the given virtual path, optionally filtering by type, and invoking the callback for each matching item.

Windows
MacOS
Linux

Override Hierarchy

References

Module

ContentBrowserData

Header

/Engine/Source/Editor/ContentBrowserData/Public/ContentBrowserDataSource.h

Include

#include "ContentBrowserDataSource.h"

Source

/Engine/Source/Editor/ContentBrowserData/Private/ContentBrowserDataSource.cpp

Syntax

virtual void EnumerateItemsAtPath
(
    const FName InPath,
    const EContentBrowserItemTypeFilter InItemTypeFilter,
    TFunctionRef< bool &&)> InCallback
)

Remarks

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.

Parameters

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).

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss