unreal.MetaHumanDNAExportParams

class unreal.MetaHumanDNAExportParams(project_path: str = '', external_path: str = '', dna_head: bool = False, dna_body: bool = False, overwrite_existing_assets: bool = False)

Bases: StructBase

Parameters for DNA export.

C++ Source:

  • Plugin: MetaHumanCharacter

  • Module: MetaHumanCharacterEditor

  • File: MetaHumanCharacterExportBlueprintLibrary.h

Editor Properties: (see get_editor_property/set_editor_property)

  • dna_body (bool): [Read-Write] Export body DNA.

  • dna_head (bool): [Read-Write] Export head DNA.

  • external_path (str): [Read-Write] Output folder on disk for the exported .dna files.

    Optional: if left empty, no files are written to disk and only the project-path asset export is performed. At least one of ProjectPath or ExternalPath must be set to a valid value; both may be set to export in parallel.

  • overwrite_existing_assets (bool): [Read-Write] Overwrites onto the existing DNA assets. Only applies to project path export. If false, creates new unique asset names.

  • project_path (str): [Read-Write] Project content path for the exported DNA assets (e.g. “/Game/MetaHumans”).

    Optional: if left empty, no project (in-editor) assets are created and only the external file export is performed. At least one of ProjectPath or ExternalPath must be set to a valid value; both may be set to export in parallel.

property dna_body: bool

[Read-Write] Export body DNA.

Type:

(bool)

property dna_head: bool

[Read-Write] Export head DNA.

Type:

(bool)

property external_path: str

[Read-Write] Output folder on disk for the exported .dna files.

Optional: if left empty, no files are written to disk and only the project-path asset export is performed. At least one of ProjectPath or ExternalPath must be set to a valid value; both may be set to export in parallel.

Type:

(str)

property overwrite_existing_assets: bool

[Read-Write] Overwrites onto the existing DNA assets. Only applies to project path export. If false, creates new unique asset names.

Type:

(bool)

property project_path: str

[Read-Write] Project content path for the exported DNA assets (e.g. “/Game/MetaHumans”).

Optional: if left empty, no project (in-editor) assets are created and only the external file export is performed. At least one of ProjectPath or ExternalPath must be set to a valid value; both may be set to export in parallel.

Type:

(str)