unreal.ImportAssetParameters

class unreal.ImportAssetParameters(reimport_asset: Object = Ellipsis, reimport_source_index: int = 0, is_automated: bool = False, override_pipelines: Array[InterchangePipelineBase] = [], on_asset_done: OnObjectImportDoneDynamic = Ellipsis, on_assets_import_done: OnImportDoneDynamic = Ellipsis, on_scene_object_done: OnObjectImportDoneDynamic = Ellipsis, on_scene_import_done: OnImportDoneDynamic = Ellipsis)

Bases: StructBase

ns UE

C++ Source:

  • Module: InterchangeEngine

  • File: InterchangeManager.h

Editor Properties: (see get_editor_property/set_editor_property)

  • is_automated (bool): [Read-Write] Is Automated: Tell interchange that import is automated and it shouldn’t present a model window

  • on_asset_done (OnObjectImportDoneDynamic): [Read-Write] On Asset Done: Delegates used track the imported objects // This is called each time an asset is imported or reimported from the import call

  • on_assets_import_done (OnImportDoneDynamic): [Read-Write] On Assets Import Done: This is called when all the assets where imported from the source data

  • on_scene_import_done (OnImportDoneDynamic): [Read-Write] On Scene Import Done: This is called when all the scene object where imported from the source data

  • on_scene_object_done (OnObjectImportDoneDynamic): [Read-Write] On Scene Object Done: This is called each time an object in the scene is imported or reimported from the import call

  • override_pipelines (Array[InterchangePipelineBase]): [Read-Write] Override Pipelines: Adding some override will tell interchange to use the specific custom set pipelines instead of letting the user or the system chose

  • reimport_asset (Object): [Read-Write] Reimport Asset: If the import is a reimport for a specific asset set the asset to reimport here

  • reimport_source_index (int32): [Read-Write] Reimport Source Index: If we are doing a reimport, set the source index here. Some asset have more then one source file when they import partial part of there content.

property is_automated: bool

[Read-Write] Is Automated: Tell interchange that import is automated and it shouldn’t present a model window

Type:

(bool)

property on_asset_done: OnObjectImportDoneDynamic

[Read-Write] On Asset Done: Delegates used track the imported objects // This is called each time an asset is imported or reimported from the import call

Type:

(OnObjectImportDoneDynamic)

property on_assets_import_done: OnImportDoneDynamic

[Read-Write] On Assets Import Done: This is called when all the assets where imported from the source data

Type:

(OnImportDoneDynamic)

property on_scene_import_done: OnImportDoneDynamic

[Read-Write] On Scene Import Done: This is called when all the scene object where imported from the source data

Type:

(OnImportDoneDynamic)

property on_scene_object_done: OnObjectImportDoneDynamic

[Read-Write] On Scene Object Done: This is called each time an object in the scene is imported or reimported from the import call

Type:

(OnObjectImportDoneDynamic)

property override_pipelines: Array[InterchangePipelineBase]

[Read-Write] Override Pipelines: Adding some override will tell interchange to use the specific custom set pipelines instead of letting the user or the system chose

Type:

(Array[InterchangePipelineBase])

property reimport_asset: Object

[Read-Write] Reimport Asset: If the import is a reimport for a specific asset set the asset to reimport here

Type:

(Object)

property reimport_source_index: int

[Read-Write] Reimport Source Index: If we are doing a reimport, set the source index here. Some asset have more then one source file when they import partial part of there content.

Type:

(int32)