Language:
Discover
By Skill Level
By Category

AssetUtil::GetObjects

Choose your OS:

Syntax

namespace AssetUtil
{
    [UNREALED_API](API\Editor\UnrealEd\Commandlets\UNREALED_API_2)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

References

Module

UnrealEd

Header

Editor/UnrealEd/Public/AssetSelection.h