IAssetRegistry::GetAssetsByPackageName

Gets asset data for the assets in the package with the specified package name

Windows
MacOS
Linux

References

Module

AssetRegistry

Header

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

Include

#include "AssetRegistry/IAssetRegistry.h"

Syntax

bool GetAssetsByPackageName
(
    FName PackageName,
    TArray< FAssetData > & OutAssetData,
    bool bIncludeOnlyOnDiskAssets
) const

Remarks

Gets asset data for the assets in the package with the specified package name

Parameters

Parameter

Description

PackageName

the package name for the requested assets (eg, /Game/MyFolder/MyAsset)

OutAssetData

the list of assets in this path

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