Navigation
API > API/Runtime > API/Runtime/AssetRegistry > API/Runtime/AssetRegistry/IAssetDependencyGatherer
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void GatherDependencies
(
FGatherDependenciesContext& Context |
Return the extra dependencies to add to the given AssetData, which is guaranteed to have ClassType equal to the class for which the Gatherer was registered. | AssetRegistry/AssetDependencyGatherer.h | |
virtual void GatherDependencies
(
const FAssetData& AssetData, |
Deprecated version of GatherDependencies, provided for code compatibility. | AssetRegistry/AssetDependencyGatherer.h |
GatherDependencies(FGatherDependenciesContext &)
Description
Return the extra dependencies to add to the given AssetData, which is guaranteed to have ClassType equal to the class for which the Gatherer was registered.
WARNING: For high performance these callbacks are called inside the critical section of the AssetRegistry. Attempting to call public functions on the AssetRegistry will deadlock. To send queries about what assets exist, used the passed-in interface functions instead.
| Name | GatherDependencies |
| Type | function |
| Header File | /Engine/Source/Runtime/AssetRegistry/Public/AssetRegistry/AssetDependencyGatherer.h |
| Include Path | #include "AssetRegistry/AssetDependencyGatherer.h" |
| Source | /Engine/Source/Runtime/AssetRegistry/Private/AssetDependencyGatherer.cpp |
virtual void GatherDependencies
(
FGatherDependenciesContext & Context
) const
Parameters
| Name | Remarks |
|---|---|
| Context | the various inputs/outputs provided to/from the gatherer |
GatherDependencies(const FAssetData &, const FAssetRegistryState &, TFunctionRef< FARCompiledFilter(const FARFilter &)>, TArray< IAssetDependencyGatherer::FGathereredDependency > &, TArray< FString > &)
Description
Deprecated version of GatherDependencies, provided for code compatibility. Will be removed in UE 5.8.
| Name | GatherDependencies |
| Type | function |
| Header File | /Engine/Source/Runtime/AssetRegistry/Public/AssetRegistry/AssetDependencyGatherer.h |
| Include Path | #include "AssetRegistry/AssetDependencyGatherer.h" |
virtual void GatherDependencies
(
const FAssetData & AssetData,
const FAssetRegistryState & AssetRegistryState,
TFunctionRef < FARCompiledFilter> CompileFilterFunc,
TArray< IAssetDependencyGatherer::FGathereredDependency > & OutDependencies,
TArray< FString > & OutDependencyDirectories
) const