ContentBrowserDataUtils::PathPassesAttributeFilter

Tests internal path against attribute filter

Choose your operating system:

Windows

macOS

Linux

References

Module

ContentBrowserData

Header

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

Include

#include "ContentBrowserDataUtils.h"

Source

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

Syntax

namespace ContentBrowserDataUtils
{
    bool ContentBrowserDataUtils::PathPassesAttributeFilter
    (
        const FStringView InPath,
        const int32 InAlreadyCheckedDepth,
        const EContentBrowserItemAttributeFilter InAttributeFilter
    )
}

Remarks

Tests internal path against attribute filter

Returns

True if passes filter

Parameters

Parameter

Description

InPath

Invariant path to test

InAlreadyCheckedDepth

Number of folders deep that have already been tested to avoid re-testing during recursion. Pass 0 if portion of path not already tested.

InItemAttributeFilter

Filter to test against