IAssetTools::GetAllAdvancedCopySources

Find all the dependencies that also need to be copied in the advanced copy, mapping them to the file that depends on them and excluding any that don't pass the ARFilter stored on CopyParams

Unreal Engine C++ API Reference > Developer > AssetTools > IAssetTools

References

   
Module AssetTools
Header /Engine/Source/Developer/AssetTools/Public/IAssetTools.h
Include #include "IAssetTools.h"
void GetAllAdvancedCopySources
(
    [FName](API\Runtime\Core\UObject\FName) SelectedPackage,
    [FAdvancedCopyParams](API\Developer\AssetTools\FAdvancedCopyParams) & CopyParams,
    [TArray](API\Runtime\Core\Containers\TArray)< [FName](API\Runtime\Core\UObject\FName) > & OutPackageNamesToCopy,
    [TMap](API\Runtime\Core\Containers\TMap)< [FName](API\Runtime\Core\UObject\FName), [FName](API\Runtime\Core\UObject\FName) > & DependencyMap,
    const class [UAdvancedCopyCustomization](API\Developer\AssetTools\UAdvancedCopyCustomization) * CopyCustomization
) const

Remarks

Find all the dependencies that also need to be copied in the advanced copy, mapping them to the file that depends on them and excluding any that don't pass the ARFilter stored on CopyParams


Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library