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

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback