UAssetManager::GetPrimaryAssetObjectList

Gets list of all loaded objects for a primary asset type, returns true if any were found.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/AssetManager.h

Include

#include "Engine/AssetManager.h"

Source

/Engine/Source/Runtime/Engine/Private/AssetManager.cpp

Syntax

virtual bool GetPrimaryAssetObjectList
(
    FPrimaryAssetType PrimaryAssetType,
    TArray< UObject * > & ObjectList
) const

Remarks

Gets list of all loaded objects for a primary asset type, returns true if any were found. Will return blueprint class for blueprint assets. This works even if the asset wasn't loaded explicitly

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