Navigation
Unreal Engine C++ API Reference > Developer > AssetTools > IAssetTools
References
Module | AssetTools |
Header | /Engine/Source/Developer/AssetTools/Public/IAssetTools.h |
Include | #include "IAssetTools.h" |
[TArray](API\Runtime\Core\Containers\TArray)< [UObject](API\Runtime\CoreUObject\UObject\UObject) * > ImportAssets ( const [TArray](API\Runtime\Core\Containers\TArray)< [FString](API\Runtime\Core\Containers\FString) > & Files, const [FString](API\Runtime\Core\Containers\FString) & DestinationPath, [UFactory](API\Editor\UnrealEd\Factories\UFactory) * ChosenFactory, bool bSyncToBrowser, [TArray](API\Runtime\Core\Containers\TArray)< TPair< [FString](API\Runtime\Core\Containers\FString), [FString](API\Runtime\Core\Containers\FString) >> * FilesAndDestinations, bool bAllowAsyncImport, bool bSceneImport ) const
Remarks
Imports the specified files to the destination path. list of successfully imported assets
Parameters
Name | Description |
---|---|
Files | Files to import |
DestinationPath | destination path for imported files |
ChosenFactory | Specific factory to use for object creation |
bSyncToBrowser | If true sync content browser to first imported asset after import |
bAllowAsyncImport | This allow the import code to use a async importer if enabled. (Note doing so will ignore the ChosenFactory arguments (If you want a async import prefer the InterchangeManager api)) |