unreal.GLTFMaterialBakeSize¶
- class unreal.GLTFMaterialBakeSize(x: int = 0, y: int = 0, auto_detect: bool = False)¶
Bases:
StructBaseGLTFMaterial Bake Size
C++ Source:
Plugin: GLTFExporter
Module: GLTFExporter
File: GLTFMaterialUserData.h
Editor Properties: (see get_editor_property/set_editor_property)
auto_detect(bool): [Read-Write] If enabled, bake size is based on the largest texture used in the material input’s expression graph. If none found, bake size will fall back to the explicit dimensions.x(int32): [Read-Write]y(int32): [Read-Write]