unreal.GLTFTextureImageFormat

class unreal.GLTFTextureImageFormat

Bases: EnumBase

EGLTFTexture Image Format

C++ Source:

  • Plugin: GLTFExporter

  • Module: GLTFExporter

  • File: GLTFExportOptions.h

JPEG: GLTFTextureImageFormat

If texture does not have an alpha channel, use JPEG (lossy compression); otherwise fallback to PNG.

Type:

2

NONE: GLTFTextureImageFormat

Don’t export any textures.

Type:

0

PNG: GLTFTextureImageFormat

Always use PNG (lossless compression).

Type:

1