UAssetManager::GetPrimaryAssetLoadSet

Fills in a set of object paths with the assets that need to be loaded, for a given Primary Asset and bundle list

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

bool GetPrimaryAssetLoadSet
(
    TSet< FSoftObjectPath > & OutAssetLoadSet,
    const FPrimaryAssetId & PrimaryAssetId,
    const TArray< FName > & LoadBundles,
    bool bLoadRecursive
) const

Remarks

Fills in a set of object paths with the assets that need to be loaded, for a given Primary Asset and bundle list

Returns

True if primary asset id was found

Parameters

Parameter

Description

OutAssetLoadSet

Set that will have asset paths added to it

PrimaryAssetId

Asset that would be loaded

LoadBundles

List of bundles to load for those assets

bLoadRecursive

If true, this will call RecursivelyExpandBundleData and recurse into sub bundles of other primary assets loaded by a bundle reference

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