Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/Engine/AssetManager.h |
Include |
#include "Engine/AssetManager.h" |
Source |
/Engine/Source/Runtime/Engine/Private/AssetManager.cpp |
bool GetPrimaryAssetLoadSet
(
TSet< FSoftObjectPath > & OutAssetLoadSet,
const FPrimaryAssetId & PrimaryAssetId,
const TArray< FName > & LoadBundles,
bool bLoadRecursive
) const
Fills in a set of object paths with the assets that need to be loaded, for a given Primary Asset and bundle list
True if primary asset id was found
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 |