Navigation
Unreal Engine C++ API Reference > Runtime > AssetRegistry > AssetRegistry > FAssetRegistryState > GetDependencies
References
Module | AssetRegistry |
Header | /Engine/Source/Runtime/AssetRegistry/Public/AssetRegistry/AssetRegistryState.h |
Include | #include "AssetRegistry/AssetRegistryState.h" |
Source | /Engine/Source/Runtime/AssetRegistry/Private/AssetRegistryState.cpp |
bool GetDependencies
&40;
const FAssetIdentifier & AssetIdentifier,
TArray< FAssetIdentifier > & OutDependencies,
UE::AssetRegistry::EDependencyCategory Category,
const UE::AssetRegistry::FDependencyQuery & Flags
&41; const
Remarks
Appends a list of packages and searchable names that are referenced by the supplied package or name. (On disk references ONLY)
Parameters
Name | Description |
---|---|
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. |