Navigation
API > API/Runtime > API/Runtime/InterchangeEngine
| Name | FImportResult |
| Type | class |
| Header File | /Engine/Source/Runtime/Interchange/Engine/Public/InterchangeManager.h |
| Include Path | #include "InterchangeManager.h" |
Syntax
class FImportResult : protected FGCObject
Inheritance Hierarchy
- FGCObject → FImportResult
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FImportResult
(
const FImportResult& |
InterchangeManager.h | ||
FImportResult
(
FImportResult&& |
InterchangeManager.h | ||
| InterchangeManager.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FImportResult() |
InterchangeManager.h |
Enums
Public
| Name | Remarks |
|---|---|
| EStatus |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| OnImportDone | FOnImportDoneDynamic | InterchangeManager.h | ||
| OnImportDoneNative | FOnImportDoneNative | InterchangeManager.h | ||
| OnObjectDone | FOnObjectImportDoneDynamic | Internal delegates. To set these, use the FImportAssetParameters when calling the Interchange import functions. | InterchangeManager.h | |
| OnObjectDoneNative | FOnObjectImportDoneNative | InterchangeManager.h |
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AsyncHelper | TWeakPtr< class FImportAsyncHelper > | InterchangeManager.h | ||
| DoneCallback | TFunction< void(FImportResult &) > | InterchangeManager.h | ||
| ImportedObjects | TArray< TObjectPtr< UObject > > | InterchangeManager.h | ||
| ImportedObjectsRWLock | FRWLock | InterchangeManager.h | ||
| ImportStatus | std::atomic< EStatus > | InterchangeManager.h | ||
| Results | TObjectPtr< UInterchangeResultsContainer > | InterchangeManager.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddImportedObject
(
UObject* ImportedObject |
Adds an asset to the list of imported assets. | InterchangeManager.h | |
| Helper to get the first asset of a certain class. Use when expecting a single asset of that class to be imported, because the order isn't deterministic. | InterchangeManager.h | ||
const TArray< UObject * > & GetImportedObjects () |
Assets are only made available once they have been completely imported (passed through the entire import pipeline). | InterchangeManager.h | |
UInterchangeResultsContainer * GetResults() |
Return the results of this asset import operation. | InterchangeManager.h | |
EStatus GetStatus() |
InterchangeManager.h | ||
bool IsValid() |
InterchangeManager.h | ||
void OnDone
(
TFunction< void(FImportResult&) > Callback |
Callback when the status switches to done. | InterchangeManager.h | |
void SetAsyncHelper
(
TWeakPtr< class FImportAsyncHelper > InAsyncHelper |
Set the async helper that own this import result. | InterchangeManager.h | |
void SetDone() |
InterchangeManager.h | ||
void SetInProgress() |
InterchangeManager.h | ||
void WaitUntilDone
(
bool bSynchronous |
InterchangeManager.h |
Protected
Overridden from FGCObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void AddReferencedObjects
(
FReferenceCollector& Collector |
FGCObject interface | InterchangeManager.h | |
virtual FString GetReferencerName() |
InterchangeManager.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FImportResult & operator=
(
FImportResult&& |
InterchangeManager.h | ||
FImportResult & operator=
(
const FImportResult& |
InterchangeManager.h |