IAssetRegistry::HasAssets

Does the given path contain assets, optionally also testing sub-paths?

Windows
MacOS
Linux

References

Module

AssetRegistry

Header

/Engine/Source/Runtime/AssetRegistry/Public/IAssetRegistry.h

Include

#include "IAssetRegistry.h"

Syntax

bool HasAssets
(
    const FName PackagePath,
    const bool bRecursive
) const

Remarks

Does the given path contain assets, optionally also testing sub-paths?

Parameters

Parameter

Description

PackagePath

the path to query asset data in (eg, /Game/MyFolder)

bRecursive

if true, the supplied path will be tested recursively

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