unreal.MaterialProxySettings
¶
- class unreal.MaterialProxySettings(texture_sizing_type=TextureSizingType.TEXTURE_SIZING_TYPE_USE_SINGLE_TEXTURE_SIZE, texture_size=[1024, 1024], target_texel_density_per_meter=5.0, mesh_max_screen_size_percent=0.5, mesh_min_draw_distance=10000.0, 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, 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] Allow Two Sided Material: Whether or not to allow the generated material can be two-sidedambient_occlusion_constant
(float): [Read-Write] Ambient Occlusion Constant: Constant value to use for the Ambient Occlusion propertyambient_occlusion_map
(bool): [Read-Write] Ambient Occlusion Map: Whether to generate a texture for the Ambient Occlusion propertyambient_occlusion_texture_size
(IntPoint): [Read-Write] Ambient Occlusion Texture Size: Override Ambient Occlusion texture sizeanisotropy_constant
(float): [Read-Write] Anisotropy Constant: Constant value to use for the Anisotropy propertyanisotropy_map
(bool): [Read-Write] Anisotropy Map: Whether to generate a texture for the Anisotropy propertyanisotropy_texture_size
(IntPoint): [Read-Write] Anisotropy Texture Size: Override Anisotropy texture sizeblend_mode
(BlendMode): [Read-Write] Blend Mode: Target blend mode for the generated materialdiffuse_texture_size
(IntPoint): [Read-Write] Diffuse Texture Size: Override Diffuse texture sizeemissive_map
(bool): [Read-Write] Emissive Map: Whether to generate a texture for the Emissive propertyemissive_texture_size
(IntPoint): [Read-Write] Emissive Texture Size: Override Emissive texture sizegutter_space
(float): [Read-Write] Gutter Space: Gutter space to take into accountmesh_max_screen_size_percent
(float): [Read-Write] Mesh Max Screen Size Percent: Expected maximum screen size for the meshmesh_min_draw_distance
(float): [Read-Write] Mesh Min Draw Distance: Expected minimum distance at which the mesh will be renderedmetallic_constant
(float): [Read-Write] Metallic Constant: Constant value to use for the Metallic propertymetallic_map
(bool): [Read-Write] Metallic Map: Whether to generate a texture for the Metallic propertymetallic_texture_size
(IntPoint): [Read-Write] Metallic Texture Size: Override Metallic texture sizenormal_map
(bool): [Read-Write] Normal Map: Whether to generate a texture for the Normal propertynormal_texture_size
(IntPoint): [Read-Write] Normal Texture Size: Override Normal texture sizeopacity_constant
(float): [Read-Write] Opacity Constant: Constant value to use for the Opacity propertyopacity_map
(bool): [Read-Write] Opacity Map: Whether to generate a texture for the Opacity propertyopacity_mask_constant
(float): [Read-Write] Opacity Mask Constant: Constant value to use for the Opacity mask propertyopacity_mask_map
(bool): [Read-Write] Opacity Mask Map: Whether to generate a texture for the Opacity Mask propertyopacity_mask_texture_size
(IntPoint): [Read-Write] Opacity Mask Texture Size: Override Opacity Mask texture sizeopacity_texture_size
(IntPoint): [Read-Write] Opacity Texture Size: Override Opacity texture sizeroughness_constant
(float): [Read-Write] Roughness Constant: Constant value to use for the Roughness propertyroughness_map
(bool): [Read-Write] Roughness Map: Whether to generate a texture for the Roughness propertyroughness_texture_size
(IntPoint): [Read-Write] Roughness Texture Size: Override Roughness texture sizespecular_constant
(float): [Read-Write] Specular Constant: Constant value to use for the Specular propertyspecular_map
(bool): [Read-Write] Specular Map: Whether to generate a texture for the Specular propertyspecular_texture_size
(IntPoint): [Read-Write] Specular Texture Size: Override Specular texture sizetangent_map
(bool): [Read-Write] Tangent Map: Whether to generate a texture for the Tangent propertytangent_texture_size
(IntPoint): [Read-Write] Tangent Texture Size: Override Tangent texture sizetarget_texel_density_per_meter
(float): [Read-Write] Target Texel Density Per Meter: Target texel densitytexture_size
(IntPoint): [Read-Write] Texture Size: Size of generated BaseColor maptexture_sizing_type
(TextureSizingType): [Read-Write] Texture Sizing Type: Method that should be used to generate the sizes of the output textures
- property allow_two_sided_material¶
[Read-Write] Allow Two Sided Material: Whether or not to allow the generated material can be two-sided
- Type
(bool)
- property ambient_occlusion_constant¶
[Read-Write] Ambient Occlusion Constant: Constant value to use for the Ambient Occlusion property
- Type
(float)
- property ambient_occlusion_map¶
[Read-Write] Ambient Occlusion Map: Whether to generate a texture for the Ambient Occlusion property
- Type
(bool)
- property ambient_occlusion_texture_size¶
[Read-Write] Ambient Occlusion Texture Size: Override Ambient Occlusion texture size
- Type
(IntPoint)
- property anisotropy_constant¶
[Read-Write] Anisotropy Constant: Constant value to use for the Anisotropy property
- Type
(float)
- property anisotropy_map¶
[Read-Write] Anisotropy Map: Whether to generate a texture for the Anisotropy property
- Type
(bool)
- property anisotropy_texture_size¶
[Read-Write] Anisotropy Texture Size: Override Anisotropy texture size
- Type
(IntPoint)
- property blend_mode¶
[Read-Write] Blend Mode: Target blend mode for the generated material
- Type
- property diffuse_texture_size¶
[Read-Write] Diffuse Texture Size: Override Diffuse texture size
- Type
(IntPoint)
- property emissive_map¶
[Read-Write] Emissive Map: Whether to generate a texture for the Emissive property
- Type
(bool)
- property emissive_texture_size¶
[Read-Write] Emissive Texture Size: Override Emissive texture size
- Type
(IntPoint)
- property mesh_max_screen_size_percent¶
[Read-Write] Mesh Max Screen Size Percent: Expected maximum screen size for the mesh
- Type
(float)
- property mesh_min_draw_distance¶
[Read-Write] Mesh Min Draw Distance: Expected minimum distance at which the mesh will be rendered
- Type
(float)
- property metallic_constant¶
[Read-Write] Metallic Constant: Constant value to use for the Metallic property
- Type
(float)
- property metallic_map¶
[Read-Write] Metallic Map: Whether to generate a texture for the Metallic property
- Type
(bool)
- property metallic_texture_size¶
[Read-Write] Metallic Texture Size: Override Metallic texture size
- Type
(IntPoint)
- property normal_map¶
[Read-Write] Normal Map: Whether to generate a texture for the Normal property
- Type
(bool)
- property normal_texture_size¶
[Read-Write] Normal Texture Size: Override Normal texture size
- Type
(IntPoint)
- property opacity_constant¶
[Read-Write] Opacity Constant: Constant value to use for the Opacity property
- Type
(float)
- property opacity_map¶
[Read-Write] Opacity Map: Whether to generate a texture for the Opacity property
- Type
(bool)
- property opacity_mask_constant¶
[Read-Write] Opacity Mask Constant: Constant value to use for the Opacity mask property
- Type
(float)
- property opacity_mask_map¶
[Read-Write] Opacity Mask Map: Whether to generate a texture for the Opacity Mask property
- Type
(bool)
- property opacity_mask_texture_size¶
[Read-Write] Opacity Mask Texture Size: Override Opacity Mask texture size
- Type
(IntPoint)
- property opacity_texture_size¶
[Read-Write] Opacity Texture Size: Override Opacity texture size
- Type
(IntPoint)
- property roughness_constant¶
[Read-Write] Roughness Constant: Constant value to use for the Roughness property
- Type
(float)
- property roughness_map¶
[Read-Write] Roughness Map: Whether to generate a texture for the Roughness property
- Type
(bool)
- property roughness_texture_size¶
[Read-Write] Roughness Texture Size: Override Roughness texture size
- Type
(IntPoint)
- property specular_constant¶
[Read-Write] Specular Constant: Constant value to use for the Specular property
- Type
(float)
- property specular_map¶
[Read-Write] Specular Map: Whether to generate a texture for the Specular property
- Type
(bool)
- property specular_texture_size¶
[Read-Write] Specular Texture Size: Override Specular texture size
- Type
(IntPoint)
- property tangent_map¶
[Read-Write] Tangent Map: Whether to generate a texture for the Tangent property
- Type
(bool)
- property tangent_texture_size¶
[Read-Write] Tangent Texture Size: Override Tangent texture size
- Type
(IntPoint)
- property target_texel_density_per_meter¶
[Read-Write] Target Texel Density Per Meter: Target texel density
- Type
(float)
- property texture_sizing_type¶
[Read-Write] Texture Sizing Type: Method that should be used to generate the sizes of the output textures
- Type