unreal.MaterialExporterUSDOptions
¶
- class unreal.MaterialExporterUSDOptions(outer=None, name='None')¶
Bases:
unreal.Object
Options for exporting materials to USD format. We use a dedicated object instead of reusing the MaterialBaking module as automated export tasks can only have one options object, and we need to also provide the textures directory.
C++ Source:
Plugin: USDImporter
Module: USDExporter
File: MaterialExporterUSDOptions.h
Editor Properties: (see get_editor_property/set_editor_property)
default_texture_size
(IntPoint): [Read-Write] Size of the baked texture for all properties that don’t have a CustomSize setproperties
(Array(PropertyEntry)): [Read-Write] Properties which are supposed to be baked out for the materialtextures_dir
(DirectoryPath): [Read-Write] Where baked textures are placed
- property default_texture_size¶
[Read-Write] Size of the baked texture for all properties that don’t have a CustomSize set
- Type
(IntPoint)
- property properties¶
[Read-Write] Properties which are supposed to be baked out for the material
- Type
- property textures_dir¶
[Read-Write] Where baked textures are placed
- Type