unreal.MetaHumanCharacterViewportSettings

class unreal.MetaHumanCharacterViewportSettings(character_environment: MetaHumanCharacterEnvironment = Ellipsis, custom_lighting_environment: World = Ellipsis, custom_lighting_environment_key: str = '', background_color: LinearColor = Ellipsis, light_rotation: float = 0.0, level_of_detail: MetaHumanCharacterLOD = Ellipsis, camera_frame: MetaHumanCharacterCameraFrame = Ellipsis, use_distance_scaled_camera_speed: bool = False, rendering_quality_profile_index: int = 0, always_use_hair_cards: bool = False, show_viewport_overlays: bool = False, show_face_bones: bool = False, show_body_bones: bool = False, show_face_normals: bool = False, show_body_normals: bool = False, show_face_tangents: bool = False, show_body_tangents: bool = False, show_face_binormals: bool = False, show_body_binormals: bool = False)

Bases: StructBase

MetaHuman Character Viewport Settings

C++ Source:

  • Plugin: MetaHumanCharacter

  • Module: MetaHumanCharacter

  • File: MetaHumanCharacterViewport.h

Editor Properties: (see get_editor_property/set_editor_property)

  • always_use_hair_cards (bool): [Read-Write]

  • background_color (LinearColor): [Read-Write]

  • body_bone_size (float): [Read-Write]

  • camera_frame (MetaHumanCharacterCameraFrame): [Read-Write]

  • character_environment (MetaHumanCharacterEnvironment): [Read-Write]

  • custom_lighting_environment (World): [Read-Write]

  • custom_lighting_environment_key (str): [Read-Write]

  • face_bone_size (float): [Read-Write]

  • level_of_detail (MetaHumanCharacterLOD): [Read-Write]

  • light_rotation (float): [Read-Write]

  • rendering_quality (MetaHumanCharacterRenderingQuality): [Read-Write] deprecated: RenderingQuality is deprecated, please use RenderingQualityProfileIndex instead.

  • rendering_quality_profile_index (int32): [Read-Write]

  • show_body_binormals (bool): [Read-Write]

  • show_body_bones (bool): [Read-Write]

  • show_body_normals (bool): [Read-Write]

  • show_body_tangents (bool): [Read-Write]

  • show_face_binormals (bool): [Read-Write]

  • show_face_bones (bool): [Read-Write]

  • show_face_normals (bool): [Read-Write]

  • show_face_tangents (bool): [Read-Write]

  • show_viewport_overlays (bool): [Read-Write]

  • tonemapper_enabled (bool): [Read-Write] deprecated: bTonemapperEnabled is deprecated. Tonemapper is now controlled via RenderingQualityProfiles in UMetaHumanCharacterEditorSettings.

  • use_distance_scaled_camera_speed (bool): [Read-Write] When enabled, scales the perspective camera speed based on the distance between the camera and its look-at position.

property always_use_hair_cards: bool

[Read-Write]

Type:

(bool)

property background_color: LinearColor

[Read-Write]

Type:

(LinearColor)

property camera_frame: MetaHumanCharacterCameraFrame

[Read-Write]

Type:

(MetaHumanCharacterCameraFrame)

property character_environment: MetaHumanCharacterEnvironment

[Read-Write]

Type:

(MetaHumanCharacterEnvironment)

property custom_lighting_environment: World

[Read-Write]

Type:

(World)

property custom_lighting_environment_key: str

[Read-Write]

Type:

(str)

property level_of_detail: MetaHumanCharacterLOD

[Read-Write]

Type:

(MetaHumanCharacterLOD)

property light_rotation: float

[Read-Write]

Type:

(float)

property rendering_quality: MetaHumanCharacterRenderingQuality

[Read-Write] deprecated: RenderingQuality is deprecated, please use RenderingQualityProfileIndex instead.

Type:

(MetaHumanCharacterRenderingQuality)

property rendering_quality_profile_index: int

[Read-Write]

Type:

(int32)

property show_body_binormals: bool

[Read-Write]

Type:

(bool)

property show_body_bones: bool

[Read-Write]

Type:

(bool)

property show_body_normals: bool

[Read-Write]

Type:

(bool)

property show_body_tangents: bool

[Read-Write]

Type:

(bool)

property show_face_binormals: bool

[Read-Write]

Type:

(bool)

property show_face_bones: bool

[Read-Write]

Type:

(bool)

property show_face_normals: bool

[Read-Write]

Type:

(bool)

property show_face_tangents: bool

[Read-Write]

Type:

(bool)

property show_viewport_overlays: bool

[Read-Write]

Type:

(bool)

property tonemapper_enabled: bool

[Read-Write] deprecated: bTonemapperEnabled is deprecated. Tonemapper is now controlled via RenderingQualityProfiles in UMetaHumanCharacterEditorSettings.

Type:

(bool)

property use_distance_scaled_camera_speed: bool

[Read-Write] When enabled, scales the perspective camera speed based on the distance between the camera and its look-at position.

Type:

(bool)