unreal.UsdMaterialBakingOptions
¶
- class unreal.UsdMaterialBakingOptions(properties=[[MaterialProperty.MP_BASE_COLOR, False, [0, 0], False, 0.0], [MaterialProperty.MP_METALLIC, False, [0, 0], False, 0.0], [MaterialProperty.MP_SPECULAR, False, [0, 0], False, 0.0], [MaterialProperty.MP_ROUGHNESS, False, [0, 0], False, 0.0], [MaterialProperty.MP_ANISOTROPY, False, [0, 0], False, 0.0], [MaterialProperty.MP_EMISSIVE_COLOR, False, [0, 0], False, 0.0], [MaterialProperty.MP_OPACITY, False, [0, 0], False, 0.0], [MaterialProperty.MP_OPACITY_MASK, False, [0, 0], False, 0.0], [MaterialProperty.MP_NORMAL, False, [0, 0], False, 0.0], [MaterialProperty.MP_TANGENT, False, [0, 0], False, 0.0], [MaterialProperty.MP_SUBSURFACE_COLOR, False, [0, 0], False, 0.0], [MaterialProperty.MP_AMBIENT_OCCLUSION, False, [0, 0], False, 0.0]], default_texture_size=[128, 128], textures_dir=[''])¶
Bases:
unreal.StructBase
Usd Material Baking Options
C++ Source:
Plugin: USDImporter
Module: USDExporter
File: USDAssetOptions.h
Editor Properties: (see get_editor_property/set_editor_property)
default_texture_size
(IntPoint): [Read-Write] Default Texture Size: Size of the baked texture for all properties that don’t have a CustomSize setproperties
(Array(PropertyEntry)): [Read-Write] Properties: Properties which are supposed to be baked out for the materialtextures_dir
(DirectoryPath): [Read-Write] Textures Dir: Where baked textures are placed. Intentionally not a config as it’s heavily dependent on where the stage is
- property default_texture_size¶
[Read-Write] Default Texture Size: Size of the baked texture for all properties that don’t have a CustomSize set
- Type
(IntPoint)
- property properties¶
[Read-Write] Properties: Properties which are supposed to be baked out for the material
- Type
- property textures_dir¶
[Read-Write] Textures Dir: Where baked textures are placed. Intentionally not a config as it’s heavily dependent on where the stage is
- Type