IAssetRegistry::SetManageReferences

Specifies a list of manager mappings, optionally recursing to dependencies.

Windows
MacOS
Linux

References

Module

AssetRegistry

Header

/Engine/Source/Runtime/AssetRegistry/Public/AssetRegistry/IAssetRegistry.h

Include

#include "AssetRegistry/IAssetRegistry.h"

Syntax

void SetManageReferences
(
    const TMultiMap< FAssetIdentifier, FAssetIdentifier > & ManagerMap,
    bool bClearExisting,
    UE::AssetRegistry::EDependencyCategory RecurseType,
    TSet< FDependsNode * > & ExistingManagedNodes,
    ShouldSetManagerPredicate ShouldSetManager
)

Remarks

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

Parameters

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

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