FImportResult

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

FGCObject

FImportResult

References

Module

InterchangeEngine

Header

/Engine/Source/Runtime/Experimental/Interchange/Engine/Public/InterchangeManager.h

Include

#include "InterchangeManager.h"

Syntax

class FImportResult : protected FGCObject

Variables

Name Description

Public variable

FOnImportDoneDy...

 

OnImportDone

Public variable

FOnImportDoneNa...

 

OnImportDoneNative

Public variable

FOnObjectImport...

 

OnObjectDone

Internal delegates (use the FImportAssetParameters when calling the interchange import functions to set those)

Public variable

FOnObjectImport...

 

OnObjectDoneNative

Constructors

Name Description

Public function

FImportResult()

Public function

FImportResult

(
    FImportResult&&
)

Public function

FImportResult

(
    const FImportResult&
)

Destructors

Name Description

Public function Virtual

~FImportResult()

Functions

Name Description

Public function

void

 

AddImportedObject

(
    UObject* ImportedObject
)

Adds an asset to the list of imported assets.

Public function Const

UObject *...

 

GetFirstAssetOfClass

(
    UClass* InClass
)

Helper to get the first asset of a certain class. Use when expecting a single asset of that class to be imported since the order isn't deterministic.

Public function Const

const TArray...

 

GetImportedObjects()

Assets are only made available once they have been completely imported (passed through the entire import pipeline) While the status isn't EStatus::Done, the list can grow between subsequent calls.

Public function Const

UInterchange...

 

GetResults()

Return the results of this asset import operation.

Public function Const

EStatus

 

GetStatus()

Public function Const

bool

 

IsValid()

Public function

void

 

OnDone

(
    TFunction< void&) > ...
)

Callback when the status switches to done.

Public function

void

 

SetDone()

Public function

void

 

SetInProgress()

Public function

void

 

WaitUntilDone()

Overridden from FGCObject

Name Description

Protected function Virtual

void

 

AddReferencedObjects

(
    FReferenceCollector& Collector
)

FGCObject interface

Protected function Virtual Const

FString

 

GetReferencerName()

Use this method to report a name for your referencer.

Operators

Name Description

Public function

FImportResul...

 

operator=

(
    FImportResult&&
)

Public function

FImportResul...

 

operator=

(
    const FImportResult&
)

Enums

Name

Description

Public enum

EStatus