unreal.ImportAssetParameters
¶
- class unreal.ImportAssetParameters(reimport_asset: Object = Ellipsis, reimport_source_index: int = 0, is_automated: bool = False, follow_redirectors: bool = False, override_pipelines: None = [], import_level: Level = Ellipsis, destination_name: str = '', replace_existing: bool = False, 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)
destination_name
(str): [Read-Write] Optional custom name for the import.follow_redirectors
(bool): [Read-Write] Tell Interchange to follow redirectors when determining the location an asset will be imported.import_level
(Level): [Read-Write] Level to import into when doing a scene import.is_automated
(bool): [Read-Write] Tell Interchange that import is automated and it shouldn’t present a modal window.on_asset_done
(OnObjectImportDoneDynamic): [Read-Write] Delegates used to 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 were imported from the source data.on_scene_import_done
(OnImportDoneDynamic): [Read-Write] This is called when all the scene objects were 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[SoftObjectPath]): [Read-Write] Adding overrides tells Interchange to use the specific custom set of pipelines instead of letting the user or the system choose.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 assets have more then one source file that each contains part of the asset content.replace_existing
(bool): [Read-Write] Determies whether to overwrite existing assets.
- property follow_redirectors: bool¶
[Read-Write] Tell Interchange to follow redirectors when determining the location an asset will be imported.
- Type:
(bool)
- property import_level: Level¶
[Read-Write] Level to import into when doing a scene import.
- Type:
(Level)
- property is_automated: bool¶
[Read-Write] Tell Interchange that import is automated and it shouldn’t present a modal window.
- Type:
(bool)
- property on_asset_done: OnObjectImportDoneDynamic¶
[Read-Write] Delegates used to track the imported objects. // This is called each time an asset is imported or reimported from the import call.
- Type:
- property on_assets_import_done: OnImportDoneDynamic¶
[Read-Write] This is called when all the assets were imported from the source data.
- Type:
- property on_scene_import_done: OnImportDoneDynamic¶
[Read-Write] This is called when all the scene objects were imported from the source data.
- Type:
- 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:
- property override_pipelines: None¶
[Read-Write] Adding overrides tells Interchange to use the specific custom set of pipelines instead of letting the user or the system choose.
- Type:
- property reimport_asset: Object¶
[Read-Write] If the import is a reimport for a specific asset, set the asset to reimport here.
- Type:
(Object)