unreal.UsdMaterialBakingOptions

class unreal.UsdMaterialBakingOptions(properties: Array[PropertyEntry] = [], default_texture_size: IntPoint = Ellipsis, textures_dir: DirectoryPath = Ellipsis)

Bases: 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 set

  • properties (Array[PropertyEntry]): [Read-Write] Properties: Properties which are supposed to be baked out for the material

  • textures_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: IntPoint

[Read-Write] Default Texture Size: Size of the baked texture for all properties that don’t have a CustomSize set

Type:

(IntPoint)

property properties: Array[PropertyEntry]

[Read-Write] Properties: Properties which are supposed to be baked out for the material

Type:

(Array[PropertyEntry])

property textures_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

Type:

(DirectoryPath)