unreal.DatasmithConsumer

class unreal.DatasmithConsumer(outer=None, name='None')

Bases: unreal.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] Datasmith Scene: DEPRECATED: Removing use of TSoftObjectPtr deprecated: Use GetDatasmithScene method to obtain the associated UDatasmithScene.

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

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

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

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

property datasmith_scene

[Read-Write] Datasmith Scene: DEPRECATED: Removing use of TSoftObjectPtr deprecated: Use GetDatasmithScene method to obtain the associated UDatasmithScene.

Type

(DatasmithScene)

property datasmith_scene_object_path

[Read-Only] Datasmith Scene Object Path: Path to UDatasmithScene potentially linked to

Type

(str)

get_datasmith_scene() DatasmithScene

Get Datasmith Scene

Return type

DatasmithScene

property output_level_object_path

[Read-Only] Output Level Object Path: Path to ULevel potentially linked to

Type

(str)

property output_level_soft_object

[Read-Write] Output Level Soft Object deprecated: Property ‘OutputLevelSoftObject’ is deprecated.

Type

(SoftObjectPath)

property unique_id

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

Type

(str)