IAssetTools::ExpandDirectories

Expands any folders found in the files list, and returns a flattened list of destination paths and files.

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

References

   
Module AssetTools
Header /Engine/Source/Developer/AssetTools/Public/IAssetTools.h
Include #include "IAssetTools.h"
void ExpandDirectories
(
    const [TArray](API\Runtime\Core\Containers\TArray)< [FString](API\Runtime\Core\Containers\FString) > & Files,
    const [FString](API\Runtime\Core\Containers\FString) & DestinationPath,
    [TArray](API\Runtime\Core\Containers\TArray)< TPair< [FString](API\Runtime\Core\Containers\FString), [FString](API\Runtime\Core\Containers\FString) >> & FilesAndDestinations
) const

Remarks

Expands any folders found in the files list, and returns a flattened list of destination paths and files. Mirrors directory structure.


Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library