unreal.ImportAssetParameters

class unreal.ImportAssetParameters(reimport_asset: Object = Ellipsis, reimport_source_index: int = 0, is_automated: bool = False, override_pipelines: None = [], 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

Import Asset Parameters

C++ Source:

  • Module: InterchangeEngine

  • File: InterchangeManager.h

Editor Properties: (see get_editor_property/set_editor_property)

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

  • on_asset_done (OnObjectImportDoneDynamic): [Read-Write] 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] This is called when all the assets where imported from the source data

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

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

  • override_pipelines (Array[InterchangePipelineBase]): [Read-Write] 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] If the import is a reimport for a specific asset set the asset to reimport here

  • reimport_source_index (int32): [Read-Write] 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] Tell interchange that import is automated and it shouldn’t present a model window

Type:

(bool)

property on_asset_done: OnObjectImportDoneDynamic

[Read-Write] 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] This is called when all the assets where imported from the source data

Type:

(OnImportDoneDynamic)

property on_scene_import_done: OnImportDoneDynamic

[Read-Write] This is called when all the scene object where imported from the source data

Type:

(OnImportDoneDynamic)

property on_scene_object_done: OnObjectImportDoneDynamic

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

Type:

(OnObjectImportDoneDynamic)

property override_pipelines: None

[Read-Write] 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] 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] 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)