IAssetTools::ImportAssets

Imports the specified files to the destination path.

Windows
MacOS
Linux

References

Module

AssetTools

Header

/Engine/Source/Developer/AssetTools/Public/IAssetTools.h

Include

#include "IAssetTools.h"

Syntax

TArray< UObject * > ImportAssets
(
    const TArray< FString > & Files,
    const FString & DestinationPath,
    UFactory * ChosenFactory,
    bool bSyncToBrowser,
    TArray< TPair< FString, FString >> * FilesAndDestinations
) const

Remarks

Imports the specified files to the destination path.

Returns

list of successfully imported assets

Parameters

Parameter

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

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss