Navigation
API > API/Runtime > API/Runtime/AssetRegistry
Information passed into SetManageReferences from ther caller. Includes arguments for the call as well as scratch space data that is shared across multiple SetManageReferences calls conducted by the caller for different priorities of managers.
| Name | FSetManageReferencesContext |
| Type | struct |
| Header File | /Engine/Source/Runtime/AssetRegistry/Public/AssetRegistry/IAssetRegistry.h |
| Include Path | #include "AssetRegistry/IAssetRegistry.h" |
Syntax
struct FSetManageReferencesContext
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bClearExisting | bool | If true, will clear any existing manage dependencies. Should be set only for the first call. | AssetRegistry/IAssetRegistry.h | |
| ManagerMap | const TMultiMap< FAssetIdentifier, FAssetIdentifier > * | Map from Managing asset to directly-managed assets for the current call to SetManageReferences. | AssetRegistry/IAssetRegistry.h | |
| RecurseType | EDependencyCategory | Dependency types to follow during the graph search out from the starting nodes in ManagerMap. | AssetRegistry/IAssetRegistry.h | |
| Scratch | TPimplPtr< FSetManageReferencesScratch > | Scratch variable that will be constructed during the call, and should not be modified by the caller but should be preserved across a series of calls to SetManageReferences for managers of different priorities | AssetRegistry/IAssetRegistry.h | |
| ShouldSetManager | TOptional< TFunctionRef< EAssetSetManagerResult::Type(FShouldSetManagerContext &Context)> > | Predicate that is called on recursive dependencies if bound, returns whether the graph search should visit a target node from a source node and whether that visit should be recursive. | AssetRegistry/IAssetRegistry.h |