unreal.GLTFProxyOptions

class unreal.GLTFProxyOptions(outer: Object | None = None, name: Name | str = 'None')

Bases: Object

GLTFProxy Options

C++ Source:

  • Plugin: GLTFExporter

  • Module: GLTFExporter

  • File: GLTFProxyOptions.h

Editor Properties: (see get_editor_property/set_editor_property)

  • bake_material_inputs (bool): [Read-Write] If enabled, a material input may be baked out to a texture (using a simple quad). Baking is only used for non-trivial material inputs (i.e. not simple texture or constant expressions).

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

  • default_material_bake_filter (TextureFilter): [Read-Write] Default filtering mode used when sampling the baked out texture. Can be overridden by material- and input-specific bake settings, see GLTFMaterialExportOptions.

  • default_material_bake_size (GLTFMaterialBakeSize): [Read-Write] Default size of the baked out texture (containing the material input). Can be overridden by material- and input-specific bake settings, see GLTFMaterialExportOptions.

  • default_material_bake_tiling (TextureAddress): [Read-Write] Default addressing mode used when sampling the baked out texture. Can be overridden by material- and input-specific bake settings, see GLTFMaterialExportOptions.

  • use_thin_translucent_shading_model (bool): [Read-Write] If enabled, materials with shading model thin translucency will be used. Conversion is only partial.

property bake_material_inputs: bool

[Read-Write] If enabled, a material input may be baked out to a texture (using a simple quad). Baking is only used for non-trivial material inputs (i.e. not simple texture or constant expressions).

Type:

(bool)

property default_input_bake_settings: None

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

Type:

(Map[GLTFMaterialPropertyGroup, GLTFOverrideMaterialBakeSettings])

property default_material_bake_filter: TextureFilter

[Read-Write] Default filtering mode used when sampling the baked out texture. Can be overridden by material- and input-specific bake settings, see GLTFMaterialExportOptions.

Type:

(TextureFilter)

property default_material_bake_size: GLTFMaterialBakeSize

[Read-Write] Default size of the baked out texture (containing the material input). Can be overridden by material- and input-specific bake settings, see GLTFMaterialExportOptions.

Type:

(GLTFMaterialBakeSize)

property default_material_bake_tiling: TextureAddress

[Read-Write] Default addressing mode used when sampling the baked out texture. Can be overridden by material- and input-specific bake settings, see GLTFMaterialExportOptions.

Type:

(TextureAddress)

reset_to_default() None

Reset to Default

property use_thin_translucent_shading_model: bool

[Read-Write] If enabled, materials with shading model thin translucency will be used. Conversion is only partial.

Type:

(bool)