Module |
|
Header |
/Engine/Source/Runtime/AssetRegistry/Public/AssetRegistry/IAssetRegistry.h |
Include |
#include "AssetRegistry/IAssetRegistry.h" |
void SetManageReferences
(
const TMultiMap< FAssetIdentifier, FAssetIdentifier > & ManagerMap,
bool bClearExisting,
UE::AssetRegistry::EDependencyCategory RecurseType,
TSet< FDependsNode * > & ExistingManagedNodes,
ShouldSetManagerPredicate ShouldSetManager
)
Specifies a list of manager mappings, optionally recursing to dependencies. These mappings can then be queried later to see which assets "manage" other assets This function is only meant to be called by the AssetManager, calls from anywhere else will conflict and lose data
Parameter |
Description |
---|---|
ManagerMap |
Map of Managing asset to Managed asset. This will construct Manager references and clear existing |
bClearExisting |
If true, will clear any existing manage dependencies |
RecurseType |
Dependency types to recurse into, from the value of the manager map |
RecursePredicate |
Predicate that is called on recursion if bound, return true if it should recurse into that node |