Navigation
API > API/Runtime > API/Runtime/InterchangeCore
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UInterchangeTranslatorBase
- UInterchangeDatasmithTranslator
- UInterchangeDDSTranslator
- UInterchangeFbxTranslator
- UInterchangeGLTFTranslator
- UInterchangeIESTranslator
- UInterchangeImageWrapperTranslator
- UInterchangeJPGTranslator
- UInterchangeMaterialXTranslator
- UInterchangeOBJTranslator
- UInterchangePSDTranslator
- UInterchangeUEJPEGTranslator
- UInterchangeUSDTranslator
References
| Module | InterchangeCore |
| Header | /Engine/Source/Runtime/Interchange/Core/Public/InterchangeTranslatorBase.h |
| Include | #include "InterchangeTranslatorBase.h" |
Syntax
UCLASS (BlueprintType, Blueprintable, Abstract, MinimalAPI)
class UInterchangeTranslatorBase : public UObject
Variables
| Type | Name | Description | |
|---|---|---|---|
| TObjectPtr< UInterchangeResultsContainer > | Results | ||
| TObjectPtr< const UInterchangeSourceData > | SourceData |
Functions
| Type | Name | Description | |
|---|---|---|---|
| T * | AddMessage () |
This function is used to add the given message object directly into the results for this operation. | |
| void | AddMessage
(
UInterchangeResult* Item |
||
| bool | CanImportSourceData
(
const UInterchangeSourceData* InSourceData |
Return true if the translator can translate the given source data. | |
| bool | DoesSupportAssetType
(
EInterchangeTranslatorAssetType AssetType |
||
| UInterchangeTranslatorSettings * | GetSettings () |
Return this translator settings | |
| const UInterchangeSourceData * | Get the associated source data for this translator. | ||
| EInterchangeTranslatorAssetType | |||
| TArray< FString > | List of formats supported by the translator. | ||
| EInterchangeTranslatorType | Specifies the capabilities of a translator. | ||
| void | ImportFinish () |
This function is call when the import is done (FImportAsyncHelper::CleanUp) and we are cleaning the data. | |
| bool | IsThreadSafe () |
Return true if the translator can be instantiate more then one time. | |
| void | Release source is called when we do not need anymore the translator source and also early in the cancel process. | ||
| void | SetResultsContainer
(
UInterchangeResultsContainer* InResults |
||
| void | SetSettings
(
const UInterchangeTranslatorSettings* InterchangeTranslatorSettings |
Reimport will set the settings if they exist in UInterchangeAssetImportData | |
| bool | Translate
(
UInterchangeBaseNodeContainer& BaseNodeContainer |
Translate the associated source data into node(s) that are hold in the specified nodes container. |