Navigation
API > API/Editor > API/Editor/UnrealEd
Contains data for a group of assets to import
| Name | UAssetImportTask |
| Type | class |
| Header File | /Engine/Source/Editor/UnrealEd/Public/AssetImportTask.h |
| Include Path | #include "AssetImportTask.h" |
Syntax
UCLASS (Transient, BlueprintType, MinimalAPI)
class UAssetImportTask : public UObject
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UAssetImportTask
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UAssetImportTask() |
AssetImportTask.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AsyncResults | UE::Interchange::FAssetImportResultPtr | Async results | AssetImportTask.h | |
| bAsync | bool | Perform the import asynchronously for file formats where async import is available | AssetImportTask.h |
|
| bAutomated | bool | Avoid dialogs | AssetImportTask.h |
|
| bReplaceExisting | bool | Overwrite existing assets | AssetImportTask.h |
|
| bReplaceExistingSettings | bool | Replace existing settings when overwriting existing assets | AssetImportTask.h |
|
| bSave | bool | Save after importing | AssetImportTask.h |
|
| DestinationName | FString | Optional custom name to import as (if you are using interchange the name must be set in a pipeline and this field will be ignored) | AssetImportTask.h |
|
| DestinationPath | FString | Path where asset will be imported to | AssetImportTask.h |
|
| Factory | TObjectPtr< UFactory > | Optional factory to use | AssetImportTask.h |
|
| Filename | FString | Task Options. | AssetImportTask.h |
|
| ImportedObjectPaths | TArray< FString > | Paths to objects created or updated after import | AssetImportTask.h |
|
| Options | TObjectPtr< UObject > | Import options specific to the type of asset | AssetImportTask.h |
|
| Result | TArray< TObjectPtr< UObject > > | Imported objects Note: after deprecation this will become a private member | AssetImportTask.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
const TArray< UObject * > & GetObjects () |
Task Results. | AssetImportTask.h |
|
bool IsAsyncImportComplete () |
Query whether this asynchronous import task is complete, and the results are ready to read. | AssetImportTask.h |
|