unreal.MetaHumanCharacter

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

Bases: Object

The MetaHuman Character Asset holds all the information required build a MetaHuman. Any data that needs to be serialized for a MetaHuman should be stored in this class This class relies on the UMetaHumanCharacterEditorSubsystem to have its properties initialized and its basically a container for data associated with a MetaHuman

C++ Source:

  • Plugin: MetaHumanCharacter

  • Module: MetaHumanCharacter

  • File: MetaHumanCharacter.h

Editor Properties: (see get_editor_property/set_editor_property)

  • assembly_settings (MetaHumanCharacterAssemblySettings): [Read-Only]

  • body_textures (Map[BodyTextureType, Texture2D]): [Read-Only] Transient body textures, can be created from the data stored in HighResBodyTexturesData

  • character_individual_assets (Map[Name, MetaHumanCharacterIndividualAssets]): [Read-Only] Character individual assets for blend tool and presets library

  • eyes_settings (MetaHumanCharacterEyesSettings): [Read-Write]

  • face_evaluation_settings (MetaHumanCharacterFaceEvaluationSettings): [Read-Only]

  • fixed_body_type (bool): [Read-Only] Fixed body types are either imported from dna as a whole rig, or a fixed compatibility body

  • has_face_dna_blendshapes (bool): [Read-Only] Stores whether the face DNA contains blendshapes

  • has_high_resolution_textures (bool): [Read-Only]

  • head_model_settings (MetaHumanCharacterHeadModelSettings): [Read-Only]

  • high_res_body_textures_info (Map[BodyTextureType, MetaHumanCharacterTextureInfo]): [Read-Only] Information about each of the high res body textures used to build the UTexture assets when the character is loaded

  • internal_collection (MetaHumanCollection): [Read-Write] The Character’s built-in palette that is used for the build. Determines which build pipeline to use and contains all of the prepared assets that will be built for the platform.

  • makeup_settings (MetaHumanCharacterMakeupSettings): [Read-Write]

  • pipelines_per_class (Map[type(Class), MetaHumanCollectionPipeline]): [Read-Only] A list of Collection pipelines that have been instanced for this character, used to track pipeline properties. There should be only a single instance of a pipeline class. Stored in a map for convenience.

  • preview_material_type (MetaHumanCharacterSkinPreviewMaterial): [Read-Write] Serialized preview material, so that the editor can load the last used one

  • skin_settings (MetaHumanCharacterSkinSettings): [Read-Only]

  • synthesized_face_textures (Map[FaceTextureType, Texture2D]): [Read-Only] Transient face textures created from the data stored in SynthesizedFaceTexturesData

  • synthesized_face_textures_info (Map[FaceTextureType, MetaHumanCharacterTextureInfo]): [Read-Only] Information about each of the face textures used to build the UTexture assets when the character is loaded

  • template_type (MetaHumanCharacterTemplateType): [Read-Only] The character type used to load the appropriate identity template model

  • thumbnail_info (ThumbnailInfo): [Read-Only] Information for thumbnail rendering

  • viewport_settings (MetaHumanCharacterViewportSettings): [Read-Write]

  • wardrobe_individual_assets (Map[Name, MetaHumanCharacterWardrobeIndividualAssets]): [Read-Only] Wardrobe individual assets per slot name

  • wardrobe_paths (Array[MetaHumanCharacterAssetsSection]): [Read-Only] Character defined wardrobe paths

property body_textures: None

[Read-Only] Transient body textures, can be created from the data stored in HighResBodyTexturesData

Type:

(Map[BodyTextureType, Texture2D])

property eyes_settings: MetaHumanCharacterEyesSettings

[Read-Write]

Type:

(MetaHumanCharacterEyesSettings)

property face_evaluation_settings: MetaHumanCharacterFaceEvaluationSettings

[Read-Only]

Type:

(MetaHumanCharacterFaceEvaluationSettings)

property fixed_body_type: bool

[Read-Only] Fixed body types are either imported from dna as a whole rig, or a fixed compatibility body

Type:

(bool)

property has_high_resolution_textures: bool

[Read-Only]

Type:

(bool)

property head_model_settings: MetaHumanCharacterHeadModelSettings

[Read-Only]

Type:

(MetaHumanCharacterHeadModelSettings)

property high_res_body_textures_info: None

[Read-Only] Information about each of the high res body textures used to build the UTexture assets when the character is loaded

Type:

(Map[BodyTextureType, MetaHumanCharacterTextureInfo])

property internal_collection: MetaHumanCollection

[Read-Only] The Character’s built-in palette that is used for the build. Determines which build pipeline to use and contains all of the prepared assets that will be built for the platform.

Type:

(MetaHumanCollection)

property makeup_settings: MetaHumanCharacterMakeupSettings

[Read-Write]

Type:

(MetaHumanCharacterMakeupSettings)

property preview_material_type: MetaHumanCharacterSkinPreviewMaterial

[Read-Write] Serialized preview material, so that the editor can load the last used one

Type:

(MetaHumanCharacterSkinPreviewMaterial)

property skin_settings: MetaHumanCharacterSkinSettings

[Read-Only]

Type:

(MetaHumanCharacterSkinSettings)

property synthesized_face_textures: None

[Read-Only] Transient face textures created from the data stored in SynthesizedFaceTexturesData

Type:

(Map[FaceTextureType, Texture2D])

property synthesized_face_textures_info: None

[Read-Only] Information about each of the face textures used to build the UTexture assets when the character is loaded

Type:

(Map[FaceTextureType, MetaHumanCharacterTextureInfo])

property viewport_settings: MetaHumanCharacterViewportSettings

[Read-Write]

Type:

(MetaHumanCharacterViewportSettings)