unreal.MaterialExporterUSDOptions
¶
- class unreal.MaterialExporterUSDOptions(outer: Optional[Object] = None, name: Union[Name, str] = 'None')¶
Bases:
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)
material_baking_options
(UsdMaterialBakingOptions): [Read-Write] Material Baking Optionsre_export_identical_assets
(bool): [Read-Write] Re Export Identical Assets: Whether to export any asset (StaticMesh, Material, etc.) even if the existing file already describes the same version of a compatible asset. This is only checked when bReplaceIdentical is set on the asset export task. Otherwise we’ll never overwrite files.
- property material_baking_options: UsdMaterialBakingOptions¶
[Read-Write] Material Baking Options
- Type:
- property re_export_identical_assets: bool¶
[Read-Write] Re Export Identical Assets: Whether to export any asset (StaticMesh, Material, etc.) even if the existing file already describes the same version of a compatible asset. This is only checked when bReplaceIdentical is set on the asset export task. Otherwise we’ll never overwrite files.
- Type:
(bool)