IAssetRegistry::GetAssetsByPath

Gets asset data for all assets in the supplied folder path

Windows
MacOS
Linux

References

Module

AssetRegistry

Header

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

Include

#include "IAssetRegistry.h"

Syntax

bool GetAssetsByPath
(
    FName PackagePath,
    TArray< FAssetData > & OutAssetData,
    bool bRecursive,
    bool bIncludeOnlyOnDiskAssets
) const

Remarks

Gets asset data for all assets in the supplied folder path

Parameters

Parameter

Description

PackagePath

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

OutAssetData

the list of assets in this path

bRecursive

if true, all supplied paths will be searched 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