UAssetManager::AcquireResourcesForAssetList

Acquires a set of chunks using the platform chunk layer, then calls the passed in callback

Choose your operating system:

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 void AcquireResourcesForAssetList
(
    const TArray< FSoftObjectPath > & AssetList,
    FAssetManagerAcquireResourceDelegateEx CompleteDelegate,
    EChunkPriority::Type Priority
)

Remarks

Acquires a set of chunks using the platform chunk layer, then calls the passed in callback

Parameters

Parameter

Description

AssetList

Asset Paths to get resources for

CompleteDelegate

Delegate called when chunks have been acquired or failed. If any chunks fail the entire operation is considered a failure

Priority

Priority to use when acquiring chunks