UAssetManager::AcquireResourcesForPrimaryAssetList

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

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 AcquireResourcesForPrimaryAssetList
(
    const TArray< FPrimaryAssetId > & PrimaryAssetList,
    FAssetManagerAcquireResourceDelegate CompleteDelegate,
    EChunkPriority::Type Priority
)

Remarks

Acquires a set of chunks using the platform chunk layer, then calls the passed in callback. This will download all bundles of a primary asset

Parameters

Parameter

Description

PrimaryAssetList

Primary assets to get chunks 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

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