unreal.GLTFProxyOptions

class unreal.GLTFProxyOptions(outer: Optional[Object] = None, name: Union[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] Bake Material Inputs: 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] Default Input Bake Settings: Input-specific default bake settings that override the general defaults above.

  • default_material_bake_filter (TextureFilter): [Read-Write] Default Material Bake Filter: 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 (GLTFMaterialBakeSizePOT): [Read-Write] Default Material Bake Size: 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 Material Bake Tiling: Default addressing mode used when sampling the baked out texture. Can be overridden by material- and input-specific bake settings, see GLTFMaterialExportOptions.

property bake_material_inputs: bool

[Read-Write] Bake Material Inputs: 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: Map[GLTFMaterialPropertyGroup, GLTFOverrideMaterialBakeSettings]

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

Type:

(Map[GLTFMaterialPropertyGroup, GLTFOverrideMaterialBakeSettings])

property default_material_bake_filter: TextureFilter

[Read-Write] Default Material Bake Filter: 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: GLTFMaterialBakeSizePOT

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

Type:

(GLTFMaterialBakeSizePOT)

property default_material_bake_tiling: TextureAddress

[Read-Write] Default Material Bake Tiling: 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