unreal.ImportFromDNAParams

class unreal.ImportFromDNAParams(isolate_head_from_body: bool = False, import_whole_rig: bool = False, alignment_options: MetaHumanAlignmentOptions = Ellipsis)

Bases: StructBase

Import from DNAParams

C++ Source:

  • Plugin: MetaHumanCharacter

  • Module: MetaHumanCharacterEditor

  • File: MetaHumanCharacterEditorSubsystem.h

Editor Properties: (see get_editor_property/set_editor_property)

  • alignment_options (MetaHumanAlignmentOptions): [Read-Write] Set the alignment options to use when importing a MetaHuman DNA head asset

  • import_whole_rig (bool): [Read-Write] When enabled, the entire rig is replaced from the DNA file (mesh, joints, skin weights and RBFs), resulting in a fixed, non-editable body type. If unchecked, the head DNA file will only be used for neck alignment.

  • isolate_head_from_body (bool): [Read-Write] Separates the head from the body, preventing the head being updated by any body changes

property alignment_options: MetaHumanAlignmentOptions

[Read-Write] Set the alignment options to use when importing a MetaHuman DNA head asset

Type:

(MetaHumanAlignmentOptions)

property import_whole_rig: bool

[Read-Write] When enabled, the entire rig is replaced from the DNA file (mesh, joints, skin weights and RBFs), resulting in a fixed, non-editable body type. If unchecked, the head DNA file will only be used for neck alignment.

Type:

(bool)

property isolate_head_from_body: bool

[Read-Write] Separates the head from the body, preventing the head being updated by any body changes

Type:

(bool)