AssetUtil::GetObjects

Given an array of asset names, loads the assets into an array of objects

Windows
MacOS
Linux

References

Module

UnrealEd

Header

/Engine/Source/Editor/UnrealEd/Public/AssetSelection.h

Include

#include "AssetSelection.h"

Syntax

namespace AssetUtil
{
    TArray< UObject * > AssetUtil::GetObjects
    (
        const TArray< FString > & AssetNames,
        bool * bAllWereLoaded
    )
}

Remarks

Given an array of asset names, loads the assets into an array of objects

Parameters

Parameter

Description

AssetNames

(In) Array of Asset names to get UObjects for

bAllWereLoaded

(Out) Optional param which indicates if all assets were loaded

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