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