unreal.InterchangeTranslatorBase

class unreal.InterchangeTranslatorBase(outer: Object | None = None, name: Name | str = 'None')

Bases: Object

Interchange Translator Base

C++ Source:

  • Module: InterchangeCore

  • File: InterchangeTranslatorBase.h

can_import_source_data(source_data) bool

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

Parameters:

source_data (InterchangeSourceData)

Return type:

bool

get_settings() InterchangeTranslatorSettings

Return this translator settings

Return type:

InterchangeTranslatorSettings

get_source_data() InterchangeSourceData

Get the associated source data for this translator.

Return type:

InterchangeSourceData

get_supported_asset_types() InterchangeTranslatorAssetType

Get Supported Asset Types

Return type:

InterchangeTranslatorAssetType

get_supported_formats() Array[str]

List of formats supported by the translator. Each entry is of the form “ext;Description” where ext is the file extension.

Return type:

Array[str]

get_translator_type() InterchangeTranslatorType

Specifies the capabilities of a translator.

Return type:

InterchangeTranslatorType

set_settings(interchange_translator_settings) None

Reimport will set the settings if they exist in UInterchangeAssetImportData

Parameters:

interchange_translator_settings (InterchangeTranslatorSettings)