UContentBrowserClassDataSource::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

UContentBrowserDataSource::EnumerateItemsAtPath()

UContentBrowserClassDataSource::EnumerateItemsAtPath()

References

Module

ContentBrowserClassDataSource

Header

/Engine/Plugins/Editor/ContentBrowser/ContentBrowserClassDataSource/Source/ContentBrowserClassDataSource/Public/ContentBrowserClassDataSource.h

Include

#include "ContentBrowserClassDataSource.h"

Source

/Engine/Plugins/Editor/ContentBrowser/ContentBrowserClassDataSource/Source/ContentBrowserClassDataSource/Private/ContentBrowserClassDataSource.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