unreal.MaterialExporterUSDOptions

class unreal.MaterialExporterUSDOptions(outer: Object | None = None, name: 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]

  • re_export_identical_assets (bool): [Read-Write] 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]

Type:

(UsdMaterialBakingOptions)

property re_export_identical_assets: bool

[Read-Write] 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)