unreal.GLTFMaterialExportOptions

class unreal.GLTFMaterialExportOptions(outer: Optional[Object] = None, name: Union[Name, str] = 'None')

Bases: AssetUserData

glTF-specific user data that can be added to material assets to override export options

C++ Source:

  • Plugin: GLTFExporter

  • Module: GLTFExporter

  • File: GLTFMaterialUserData.h

Editor Properties: (see get_editor_property/set_editor_property)

  • default (GLTFOverrideMaterialBakeSettings): [Read-Write] Default: Default bake settings for this material in general.

  • inputs (Map[GLTFMaterialPropertyGroup, GLTFOverrideMaterialBakeSettings]): [Read-Write] Inputs: Input-specific bake settings that override the defaults above.

  • proxy (MaterialInterface): [Read-Write] Proxy: If assigned, export will use the proxy instead of the original material.

property default: GLTFOverrideMaterialBakeSettings

[Read-Write] Default: Default bake settings for this material in general.

Type:

(GLTFOverrideMaterialBakeSettings)

property inputs: Map[GLTFMaterialPropertyGroup, GLTFOverrideMaterialBakeSettings]

[Read-Write] Inputs: Input-specific bake settings that override the defaults above.

Type:

(Map[GLTFMaterialPropertyGroup, GLTFOverrideMaterialBakeSettings])

property proxy: MaterialInterface

[Read-Write] Proxy: If assigned, export will use the proxy instead of the original material.

Type:

(MaterialInterface)