/Engine/Source/Runtime/AssetRegistry/Public/AssetRegistry/AssetRegistryState.h
Clears existing dependencies of the given Category(s) and assigns the input Dependencies. Gives an error if any elements of Dependencies are outside of the Category(s).
void SetDependencies ( const [FAssetIdentifier](API\Runtime\CoreUObject\AssetRegistry\FAssetIdentifier) & AssetIdentifier, TConstArrayView< [FAssetDependency](API\Runtime\AssetRegistry\AssetRegistry\FAssetDependency) > Dependencies, [UE::AssetRegistry::EDependencyCategory](API\Runtime\CoreUObject\Misc\UE__AssetRegistry__EDependencyCa-) Category )