Navigation
API > API/Runtime > API/Runtime/AssetRegistry > API/Runtime/AssetRegistry/AssetRegistry > API/Runtime/AssetRegistry/AssetRegistry/IAssetRegistry > API/Runtime/AssetRegistry/AssetRegistry/IAssetRegistry/GetReferencers
References
Module | AssetRegistry |
Header | /Engine/Source/Runtime/AssetRegistry/Public/AssetRegistry/IAssetRegistry.h |
Include | #include "AssetRegistry/IAssetRegistry.h" |
bool GetReferencers
&40;
const FAssetIdentifier & AssetIdentifier,
TArray< FAssetIdentifier > & OutReferencers,
UE::AssetRegistry::EDependencyCategory Category,
const UE::AssetRegistry::FDependencyQuery & Flags
&41; const
Remarks
Gets a list of AssetIdentifiers or FAssetDependencies that reference the supplied AssetIdentifier. (On disk references ONLY)
Parameters
Name | Description |
---|---|
AssetIdentifier | the name of the package/name for which to gather referencers (eg, /Game/MyFolder/MyAsset) |
OutReferencers | a list of things that reference AssetIdentifier. |
Category | which category(ies) of referencers to include in the output list. Referencers that have a dependency matching ANY of the OR'd categories will be returned. |
Flags | which flags are required present or not present on the referencer's dependency. Referencers that have a dependency matching ALL required and NONE excluded bits will be returned. For each potentially returned dependency, flags not applicable to their category are ignored. |