/Engine/Source/Runtime/AssetRegistry/Public/AssetRegistry/AssetDependencyGatherer.h
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.
void GatherDependencies ( const [FAssetData](API\Runtime\CoreUObject\AssetRegistry\FAssetData) & AssetData, const [FAssetRegistryState](API\Runtime\AssetRegistry\AssetRegistry\FAssetRegistryState) & AssetRegistryState, [TFunctionRef](API\Runtime\Core\GenericPlatform\TFunctionRef)< [FARCompiledFilter](API\Runtime\CoreUObject\AssetRegistry\FARCompiledFilter)(const [FARFilter](API\Runtime\CoreUObject\AssetRegistry\FARFilter) &)> CompileFilterFunc, [TArray](API\Runtime\Core\Containers\TArray)< [IAssetDependencyGatherer::FGathereredDependency](API\Runtime\AssetRegistry\AssetRegistry\IAssetDependencyGatherer\FGathereredDepen-) > & OutDependencies, [TArray](API\Runtime\Core\Containers\TArray)< [FString](API\Runtime\Core\Containers\FString) > & OutDependencyDirectories ) const