UContentBrowserFileDataSource::CompileFilter

Given a path and a data filter, produce an optimized filter that can be used to efficiently enumerate items that match it, and also query whether an item would pass it.

Windows
MacOS
Linux

Override Hierarchy

UContentBrowserDataSource::CompileFilter()

UContentBrowserFileDataSource::CompileFilter()

References

Module

ContentBrowserFileDataSource

Header

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

Include

#include "ContentBrowserFileDataSource.h"

Source

/Engine/Plugins/Editor/ContentBrowser/ContentBrowserFileDataSource/Source/ContentBrowserFileDataSource/Private/ContentBrowserFileDataSource.cpp

Syntax

virtual void CompileFilter
(
    const FName InPath,
    const FContentBrowserDataFilter & InFilter,
    FContentBrowserDataCompiledFilter & OutCompiledFilter
)

Remarks

Given a path and a data filter, produce an optimized filter that can be used to efficiently enumerate items that match it, and also query whether an item would pass it. @note This function must not block waiting on content discovery! It should use the current state as known at this point in time. @note A compiled filter should be short-lived (no more than 1 frame).

Parameters

Parameter

Description

InPath

The virtual path to search for items under.

InFilter

Rules describing how items should be filtered.

OutCompiledFilter

The compiled filter instance to fill with the result.

See Also

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