unreal.DatasmithConsumer

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

Bases: DataprepContentConsumer

Datasmith Consumer

C++ Source:

  • Plugin: DatasmithImporter

  • Module: DatasmithImporter

  • File: DatasmithConsumer.h

Editor Properties: (see get_editor_property/set_editor_property)

  • datasmith_scene (DatasmithScene): [Read-Write] DEPRECATED: Removing use of TSoftObjectPtr deprecated: Use GetDatasmithScene method to obtain the associated UDatasmithScene.

  • datasmith_scene_object_path (str): [Read-Write] Path to UDatasmithScene potentially linked to

  • output_level_object_path (str): [Read-Write] Path to ULevel potentially linked to

  • output_level_soft_object (SoftObjectPath): [Read-Write] deprecated: Property ‘OutputLevelSoftObject’ is deprecated.

  • unique_id (str): [Read-Write] Stores the level used on the last call to UDatasmithConsumer::Run

property datasmith_scene: DatasmithScene

Removing use of TSoftObjectPtr deprecated: Use GetDatasmithScene method to obtain the associated UDatasmithScene.

Type:

(DatasmithScene)

Type:

[Read-Write] DEPRECATED

property datasmith_scene_object_path: str

[Read-Only] Path to UDatasmithScene potentially linked to

Type:

(str)

get_datasmith_scene() DatasmithScene

Get Datasmith Scene

Return type:

DatasmithScene

property output_level_object_path: str

[Read-Only] Path to ULevel potentially linked to

Type:

(str)

property output_level_soft_object: SoftObjectPath

[Read-Write] deprecated: Property ‘OutputLevelSoftObject’ is deprecated.

Type:

(SoftObjectPath)

property unique_id: str

[Read-Only] Stores the level used on the last call to UDatasmithConsumer::Run

Type:

(str)