Navigation
API > API/Runtime > API/Runtime/AssetRegistry > API/Runtime/AssetRegistry/IAssetRegistry
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool GetReferencers
(
const FAssetIdentifier& AssetIdentifier, |
Gets a list of AssetIdentifiers or FAssetDependencies that reference the supplied AssetIdentifier. | AssetRegistry/IAssetRegistry.h | |
bool GetReferencers
(
const FAssetIdentifier& AssetIdentifier, |
AssetRegistry/IAssetRegistry.h | ||
bool GetReferencers
(
FName PackageName, |
Gets a list of PackageNames that reference the supplied package. (On disk references ONLY) | AssetRegistry/IAssetRegistry.h |
GetReferencers(const FAssetIdentifier &, TArray< FAssetIdentifier > &, UE::AssetRegistry::EDependencyCategory, const UE::AssetRegistry::FDependencyQuery &)
Description
Gets a list of AssetIdentifiers or FAssetDependencies that reference the supplied AssetIdentifier. Only returns referencers reported in the on-disk package.
| Name | GetReferencers |
| Type | function |
| Header File | /Engine/Source/Runtime/AssetRegistry/Public/AssetRegistry/IAssetRegistry.h |
| Include Path | #include "AssetRegistry/IAssetRegistry.h" |
bool GetReferencers
(
const FAssetIdentifier & AssetIdentifier,
TArray< FAssetIdentifier > & OutReferencers,
UE::AssetRegistry::EDependencyCategory Category,
const UE::AssetRegistry::FDependencyQuery & Flags
) const
Parameters
| Name | Remarks |
|---|---|
| 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. |
GetReferencers(const FAssetIdentifier &, TArray< FAssetDependency > &, UE::AssetRegistry::EDependencyCategory, const UE::AssetRegistry::FDependencyQuery &)
| Name | GetReferencers |
| Type | function |
| Header File | /Engine/Source/Runtime/AssetRegistry/Public/AssetRegistry/IAssetRegistry.h |
| Include Path | #include "AssetRegistry/IAssetRegistry.h" |
bool GetReferencers
(
const FAssetIdentifier & AssetIdentifier,
TArray< FAssetDependency > & OutReferencers,
UE::AssetRegistry::EDependencyCategory Category,
const UE::AssetRegistry::FDependencyQuery & Flags
) const
GetReferencers(FName, TArray< FName > &, UE::AssetRegistry::EDependencyCategory, const UE::AssetRegistry::FDependencyQuery &)
Description
Gets a list of PackageNames that reference the supplied package. (On disk references ONLY)
| Name | GetReferencers |
| Type | function |
| Header File | /Engine/Source/Runtime/AssetRegistry/Public/AssetRegistry/IAssetRegistry.h |
| Include Path | #include "AssetRegistry/IAssetRegistry.h" |
bool GetReferencers
(
FName PackageName,
TArray< FName > & OutReferencers,
UE::AssetRegistry::EDependencyCategory Category,
const UE::AssetRegistry::FDependencyQuery & Flags
) const
Parameters
| Name | Remarks |
|---|---|
| PackageName | The name of the package for which to gather dependencies (eg, /Game/MyFolder/MyAsset) |
| OutReferencers | A list of packages that reference the package whose path is PackageName |
| 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. |