unreal.MaterialProxySettings

class unreal.MaterialProxySettings(texture_size=[1024, 1024], gutter_space=4.0, metallic_constant=0.0, roughness_constant=0.5, anisotropy_constant=0.0, specular_constant=0.5, opacity_constant=1.0, opacity_mask_constant=1.0, ambient_occlusion_constant=1.0, texture_sizing_type=TextureSizingType.TEXTURE_SIZING_TYPE_USE_SINGLE_TEXTURE_SIZE, blend_mode=BlendMode.BLEND_OPAQUE, allow_two_sided_material=True, normal_map=True, tangent_map=False, metallic_map=False, roughness_map=False, anisotropy_map=False, specular_map=False, emissive_map=False, opacity_map=False, opacity_mask_map=False, ambient_occlusion_map=False, diffuse_texture_size=[1024, 1024], normal_texture_size=[1024, 1024], tangent_texture_size=[1024, 1024], metallic_texture_size=[1024, 1024], roughness_texture_size=[1024, 1024], anisotropy_texture_size=[1024, 1024], specular_texture_size=[1024, 1024], emissive_texture_size=[1024, 1024], opacity_texture_size=[1024, 1024], opacity_mask_texture_size=[1024, 1024], ambient_occlusion_texture_size=[1024, 1024])

Bases: unreal.StructBase

Material Proxy Settings

C++ Source:

  • Module: Engine

  • File: MaterialMerging.h

Editor Properties: (see get_editor_property/set_editor_property)

  • allow_two_sided_material (bool): [Read-Write] Whether or not to allow the generated material can be two-sided

  • ambient_occlusion_constant (float): [Read-Write] Constant value to use for the Ambient Occlusion property

  • ambient_occlusion_map (bool): [Read-Write] Whether to generate a texture for the Ambient Occlusion property

  • ambient_occlusion_texture_size (IntPoint): [Read-Write] Override Ambient Occlusion texture size

  • anisotropy_constant (float): [Read-Write] Constant value to use for the Anisotropy property

  • anisotropy_map (bool): [Read-Write] Whether to generate a texture for the Anisotropy property

  • anisotropy_texture_size (IntPoint): [Read-Write] Override Anisotropy texture size

  • blend_mode (BlendMode): [Read-Write] Target blend mode for the generated material

  • diffuse_texture_size (IntPoint): [Read-Write] Override Diffuse texture size

  • emissive_map (bool): [Read-Write] Whether to generate a texture for the Emissive property

  • emissive_texture_size (IntPoint): [Read-Write] Override Emissive texture size

  • gutter_space (float): [Read-Write] Gutter space to take into account

  • metallic_constant (float): [Read-Write] Constant value to use for the Metallic property

  • metallic_map (bool): [Read-Write] Whether to generate a texture for the Metallic property

  • metallic_texture_size (IntPoint): [Read-Write] Override Metallic texture size

  • normal_map (bool): [Read-Write] Whether to generate a texture for the Normal property

  • normal_texture_size (IntPoint): [Read-Write] Override Normal texture size

  • opacity_constant (float): [Read-Write] Constant value to use for the Opacity property

  • opacity_map (bool): [Read-Write] Whether to generate a texture for the Opacity property

  • opacity_mask_constant (float): [Read-Write] Constant value to use for the Opacity mask property

  • opacity_mask_map (bool): [Read-Write] Whether to generate a texture for the Opacity Mask property

  • opacity_mask_texture_size (IntPoint): [Read-Write] Override Opacity Mask texture size

  • opacity_texture_size (IntPoint): [Read-Write] Override Opacity texture size

  • roughness_constant (float): [Read-Write] Constant value to use for the Roughness property

  • roughness_map (bool): [Read-Write] Whether to generate a texture for the Roughness property

  • roughness_texture_size (IntPoint): [Read-Write] Override Roughness texture size

  • specular_constant (float): [Read-Write] Constant value to use for the Specular property

  • specular_map (bool): [Read-Write] Whether to generate a texture for the Specular property

  • specular_texture_size (IntPoint): [Read-Write] Override Specular texture size

  • tangent_map (bool): [Read-Write] Whether to generate a texture for the Tangent property

  • tangent_texture_size (IntPoint): [Read-Write] Override Tangent texture size

  • texture_size (IntPoint): [Read-Write] Size of generated BaseColor map

  • texture_sizing_type (TextureSizingType): [Read-Write] Method that should be used to generate the sizes of the output textures

property allow_two_sided_material

[Read-Write] Whether or not to allow the generated material can be two-sided

Type

(bool)

property ambient_occlusion_constant

[Read-Write] Constant value to use for the Ambient Occlusion property

Type

(float)

property ambient_occlusion_map

[Read-Write] Whether to generate a texture for the Ambient Occlusion property

Type

(bool)

property ambient_occlusion_texture_size

[Read-Write] Override Ambient Occlusion texture size

Type

(IntPoint)

property anisotropy_constant

[Read-Write] Constant value to use for the Anisotropy property

Type

(float)

property anisotropy_map

[Read-Write] Whether to generate a texture for the Anisotropy property

Type

(bool)

property anisotropy_texture_size

[Read-Write] Override Anisotropy texture size

Type

(IntPoint)

property blend_mode

[Read-Write] Target blend mode for the generated material

Type

(BlendMode)

property diffuse_texture_size

[Read-Write] Override Diffuse texture size

Type

(IntPoint)

property emissive_map

[Read-Write] Whether to generate a texture for the Emissive property

Type

(bool)

property emissive_texture_size

[Read-Write] Override Emissive texture size

Type

(IntPoint)

property gutter_space

[Read-Write] Gutter space to take into account

Type

(float)

property metallic_constant

[Read-Write] Constant value to use for the Metallic property

Type

(float)

property metallic_map

[Read-Write] Whether to generate a texture for the Metallic property

Type

(bool)

property metallic_texture_size

[Read-Write] Override Metallic texture size

Type

(IntPoint)

property normal_map

[Read-Write] Whether to generate a texture for the Normal property

Type

(bool)

property normal_texture_size

[Read-Write] Override Normal texture size

Type

(IntPoint)

property opacity_constant

[Read-Write] Constant value to use for the Opacity property

Type

(float)

property opacity_map

[Read-Write] Whether to generate a texture for the Opacity property

Type

(bool)

property opacity_mask_constant

[Read-Write] Constant value to use for the Opacity mask property

Type

(float)

property opacity_mask_map

[Read-Write] Whether to generate a texture for the Opacity Mask property

Type

(bool)

property opacity_mask_texture_size

[Read-Write] Override Opacity Mask texture size

Type

(IntPoint)

property opacity_texture_size

[Read-Write] Override Opacity texture size

Type

(IntPoint)

property roughness_constant

[Read-Write] Constant value to use for the Roughness property

Type

(float)

property roughness_map

[Read-Write] Whether to generate a texture for the Roughness property

Type

(bool)

property roughness_texture_size

[Read-Write] Override Roughness texture size

Type

(IntPoint)

property specular_constant

[Read-Write] Constant value to use for the Specular property

Type

(float)

property specular_map

[Read-Write] Whether to generate a texture for the Specular property

Type

(bool)

property specular_texture_size

[Read-Write] Override Specular texture size

Type

(IntPoint)

property tangent_map

[Read-Write] Whether to generate a texture for the Tangent property

Type

(bool)

property tangent_texture_size

[Read-Write] Override Tangent texture size

Type

(IntPoint)

property texture_size

[Read-Write] Size of generated BaseColor map

Type

(IntPoint)

property texture_sizing_type

[Read-Write] Method that should be used to generate the sizes of the output textures

Type

(TextureSizingType)