UInterchangeTranslatorBase

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

InterchangeCore

Header

/Engine/Source/Runtime/Experimental/Interchange/Core/Public/InterchangeTranslatorBase.h

Include

#include "InterchangeTranslatorBase.h"

Syntax

class UInterchangeTranslatorBase : public UObject

Variables

Name Description

Public variable

TObjectPtr< UIn...

 

Results

Public variable

TObjectPtr< con...

 

SourceData

Functions

Name Description

Public function Const

T *

 

AddMessage()

This function is used to add the given message object directly into the results for this operation.

Public function Const

void

 

AddMessage

(
    UInterchangeResult* Item
)

Public function Virtual Const

bool

 

CanImportSourceData

(
    const UInterchangeSourceData* ...
)

Return true if the translator can translate the given source data.

Public function Const

const UInter...

 

GetSourceData()

Get the associated source data for this translator.

Public function Virtual

void

 

ImportFinish()

This function is call when the import is done (FImportAsyncHelper::CleanUp) and we are cleaning the data.

Public function Virtual

void

 

ReleaseSource()

Release source is called when we do not need anymore the translator source and also early in the cancel process.

Public function

void

 

SetResultsContainer

Public function Virtual Const

bool

 

Translate

(
    UInterchangeBaseNodeContainer& Bas...
)

Translate the associated source data into node(s) that are hold in the specified nodes container.