Navigation
Unreal Engine C++ API Reference > Developer > AssetTools
References
Module | AssetTools |
Header | /Engine/Source/Developer/AssetTools/Public/AssetViewUtils.h |
Include | #include "AssetViewUtils.h" |
Source | /Engine/Source/Developer/AssetTools/Private/AssetViewUtils.cpp |
namespace AssetViewUtils
{
bool AssetViewUtils::PrepareFoldersForDragDrop
(
const [TArray](API\Runtime\Core\Containers\TArray)< [FString](API\Runtime\Core\Containers\FString) > & SourcePathNames,
[TMap](API\Runtime\Core\Containers\TMap)< [FString](API\Runtime\Core\Containers\FString), [TArray](API\Runtime\Core\Containers\TArray)< [UObject](API\Runtime\CoreUObject\UObject\UObject) * > > & OutSourcePathToLoadedAssets
)
}
Remarks
A helper function for folder drag/drop which loads all assets in a path (including sub-paths) and returns the assets found
Parameters
Name | Description |
---|---|
SourcePathNames | The paths to the folders to drag/drop |
OutSourcePathToLoadedAssets | The map of source folder paths to assets found |