Navigation
API > API/Runtime > API/Runtime/AssetRegistry > API/Runtime/AssetRegistry/FAssetRegistryState
Description
Clears existing referencers of the given Category(s) and assigns the input Referencers. Gives an error if any elements of Referencers are outside of the Category(s).
| Name | SetReferencers |
| Type | function |
| Header File | /Engine/Source/Runtime/AssetRegistry/Public/AssetRegistry/AssetRegistryState.h |
| Include Path | #include "AssetRegistry/AssetRegistryState.h" |
| Source | /Engine/Source/Runtime/AssetRegistry/Private/AssetRegistryState.cpp |
void SetReferencers
(
const FAssetIdentifier & AssetIdentifier,
TConstArrayView< FAssetDependency > Referencers,
UE::AssetRegistry::EDependencyCategory Category
)