unreal.GLTFMaterialExportOptions

class unreal.GLTFMaterialExportOptions(outer: Object | None = None, name: 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 bake settings for this material in general.

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

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

property default: GLTFOverrideMaterialBakeSettings

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

Type:

(GLTFOverrideMaterialBakeSettings)

property inputs: None

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

Type:

(Map[GLTFMaterialPropertyGroup, GLTFOverrideMaterialBakeSettings])

property proxy: MaterialInterface

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

Type:

(MaterialInterface)