unreal.DatasmithInterchangeImportContext

class unreal.DatasmithInterchangeImportContext(asset_path: str = '', anchor: SceneComponent = Ellipsis, async_: bool = False, static_mesh_options: DatasmithStaticMeshImportOptions = Ellipsis, import_options: None = [])

Bases: StructBase

Datasmith Interchange Import Context

C++ Source:

  • Plugin: DatasmithInterchange

  • Module: DatasmithInterchangeScripting

  • File: DatasmithInterchangeScripting.h

Editor Properties: (see get_editor_property/set_editor_property)

  • anchor (SceneComponent): [Read-Write] If not null, the resulting ADatasmithSceneActor will be parented to the Anchor

  • asset_path (str): [Read-Write] Path of content folder where to store created assets

  • async_ (bool): [Read-Write] If true, the import will be asynchronous

  • import_options (Array[Object]): [Read-Write]

  • static_mesh_options (DatasmithStaticMeshImportOptions): [Read-Write]

property anchor: SceneComponent

[Read-Write] If not null, the resulting ADatasmithSceneActor will be parented to the Anchor

Type:

(SceneComponent)

property asset_path: str

[Read-Write] Path of content folder where to store created assets

Type:

(str)

property async_: bool

[Read-Write] If true, the import will be asynchronous

Type:

(bool)

property import_options: None

[Read-Write]

Type:

(Array[Object])

property static_mesh_options: DatasmithStaticMeshImportOptions

[Read-Write]

Type:

(DatasmithStaticMeshImportOptions)