IAssetRegistry::GetAssetsByClass

Gets asset data for all assets with the supplied class

Windows
MacOS
Linux

References

Module

AssetRegistry

Header

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

Include

#include "IAssetRegistry.h"

Syntax

bool GetAssetsByClass
(
    FName ClassName,
    TArray< FAssetData > & OutAssetData,
    bool bSearchSubClasses
) const

Remarks

Gets asset data for all assets with the supplied class

Parameters

Parameter

Description

ClassName

the class name of the assets requested

OutAssetData

the list of assets in this path

bSearchSubClasses

if true, all subclasses of the passed in class will be searched as well

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