Navigation
API > API/Developer > API/Developer/AssetTools > API/Developer/AssetTools/IAssetTools
References
| Module | AssetTools |
| Header | /Engine/Source/Developer/AssetTools/Public/IAssetTools.h |
| Include | #include "IAssetTools.h" |
TArray< UObject &42; > ImportAssets
&40;
const TArray< FString > & Files,
const FString & DestinationPath,
UFactory &42; ChosenFactory,
bool bSyncToBrowser,
TArray< TPair< FString, FString >> &42; FilesAndDestinations,
bool bAllowAsyncImport,
bool bSceneImport
&41; 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)) |