Navigation
API > API/Runtime > API/Runtime/AssetRegistry > API/Runtime/AssetRegistry/IAssetRegistry
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool GetDependencies
(
const FAssetIdentifier& AssetIdentifier, |
Gets a list of AssetIdentifiers or FAssetDependencies that are referenced by the supplied AssetIdentifier. | AssetRegistry/IAssetRegistry.h | |
bool GetDependencies
(
const FAssetIdentifier& AssetIdentifier, |
AssetRegistry/IAssetRegistry.h | ||
bool GetDependencies
(
FName PackageName, |
Gets a list of PackageNames that are referenced by the supplied package. | AssetRegistry/IAssetRegistry.h |
GetDependencies(const FAssetIdentifier &, TArray< FAssetIdentifier > &, UE::AssetRegistry::EDependencyCategory, const UE::AssetRegistry::FDependencyQuery &)
Description
Gets a list of AssetIdentifiers or FAssetDependencies that are referenced by the supplied AssetIdentifier. Only returns dependencies reported in the on-disk package.
| Name | GetDependencies |
| Type | function |
| Header File | /Engine/Source/Runtime/AssetRegistry/Public/AssetRegistry/IAssetRegistry.h |
| Include Path | #include "AssetRegistry/IAssetRegistry.h" |
bool GetDependencies
(
const FAssetIdentifier & AssetIdentifier,
TArray< FAssetIdentifier > & OutDependencies,
UE::AssetRegistry::EDependencyCategory Category,
const UE::AssetRegistry::FDependencyQuery & Flags
) const
Parameters
| Name | Remarks |
|---|---|
| AssetIdentifier | The name of the package/name for which to gather dependencies. |
| OutDependencies | A list of things that are referenced by AssetIdentifier. |
| Category | Which category(ies) of dependencies to include in the output list. Dependencies matching ANY of the OR'd categories will be returned. |
| Flags | Which flags are required present or not present on the dependencies. Dependencies matching ALL required and NONE excluded bits will be returned. For each potentially returned dependency, flags not applicable to their category are ignored. |
GetDependencies(const FAssetIdentifier &, TArray< FAssetDependency > &, UE::AssetRegistry::EDependencyCategory, const UE::AssetRegistry::FDependencyQuery &)
| Name | GetDependencies |
| Type | function |
| Header File | /Engine/Source/Runtime/AssetRegistry/Public/AssetRegistry/IAssetRegistry.h |
| Include Path | #include "AssetRegistry/IAssetRegistry.h" |
bool GetDependencies
(
const FAssetIdentifier & AssetIdentifier,
TArray< FAssetDependency > & OutDependencies,
UE::AssetRegistry::EDependencyCategory Category,
const UE::AssetRegistry::FDependencyQuery & Flags
) const
GetDependencies(FName, TArray< FName > &, UE::AssetRegistry::EDependencyCategory, const UE::AssetRegistry::FDependencyQuery &)
Description
Gets a list of PackageNames that are referenced by the supplied package. Only returns dependencies reported in the on-disk package.
| Name | GetDependencies |
| Type | function |
| Header File | /Engine/Source/Runtime/AssetRegistry/Public/AssetRegistry/IAssetRegistry.h |
| Include Path | #include "AssetRegistry/IAssetRegistry.h" |
bool GetDependencies
(
FName PackageName,
TArray< FName > & OutDependencies,
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) |
| OutDependencies | A list of packages that are referenced by the package whose path is PackageName |
| Category | Which category(ies) of dependencies to include in the output list. Dependencies matching ANY of the OR'd categories will be returned. |
| Flags | Which flags are required present or not present on the dependencies. Dependencies matching ALL required and NONE excluded bits will be returned. For each potentially returned dependency, flags not applicable to their category are ignored. |