unreal.InterchangeAssetImportData

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

Bases: AssetImportData

Interchange Asset Import Data

C++ Source:

  • Module: InterchangeEngine

  • File: InterchangeAssetImportData.h

Editor Properties: (see get_editor_property/set_editor_property)

  • node_container (InterchangeBaseNodeContainer): [Read-Write] deprecated: Use GetNodeContainer/SetNodeContainer instead.

  • node_unique_id (str): [Read-Only] The Node UID passed to the factory that existed in the graph that was used to create this asset.

  • pipelines (Array[Object]): [Read-Write] deprecated: Use GetPipelines/SetPipelines instead.

  • scene_import_asset (SoftObjectPath): [Read-Write] On a level import, set to the UInterchangeSceneImportAsset created during the import.

  • source_data (AssetImportInfo): [Read-Only] Source file data describing the files that were used to import this asset.

get_node_container() InterchangeBaseNodeContainer

Get Node Container

Return type:

InterchangeBaseNodeContainer

get_number_of_pipelines() int32

Get Number Of Pipelines

Return type:

int32

get_pipelines() Array[Object]

Returns Array of non-null pipelines

Return type:

Array[Object]

get_stored_factory_node(node_unique_id) InterchangeFactoryBaseNode

Get Stored Factory Node

Parameters:

node_unique_id (str) –

Return type:

InterchangeFactoryBaseNode

get_stored_node(node_unique_id) InterchangeBaseNode

Get Stored Node

Parameters:

node_unique_id (str) –

Return type:

InterchangeBaseNode

get_translator_settings() InterchangeTranslatorSettings

Get Translator Settings

Return type:

InterchangeTranslatorSettings

property node_container: InterchangeBaseNodeContainer

[Read-Write] deprecated: Use GetNodeContainer/SetNodeContainer instead.

Type:

(InterchangeBaseNodeContainer)

property pipelines: None

[Read-Write] deprecated: Use GetPipelines/SetPipelines instead.

Type:

(Array[Object])

script_extract_display_labels() Array[str]

Extract all the filename labels.

Return type:

Array[str]

script_extract_filenames() Array[str]

Extract all the (resolved) filenames.

Return type:

Array[str]

script_get_first_filename() str

Return the first filename stored in this data. The resulting filename will be absolute (that is, not relative to the asset).

Return type:

str

set_node_container(node_container) None

Set Node Container

Parameters:

node_container (InterchangeBaseNodeContainer) –

set_pipelines(pipelines) None

Set Pipelines

Parameters:

pipelines (Array[Object]) –

set_translator_settings(translator_settings) None

Set Translator Settings

Parameters:

translator_settings (InterchangeTranslatorSettings) –