unreal.MaterialOptions
¶
- class unreal.MaterialOptions(outer: Object | None = None, name: Name | str = 'None')¶
Bases:
Object
Options object to define what and how a material should be baked out
C++ Source:
Module: MaterialBaking
File: MaterialOptions.h
Editor Properties: (see get_editor_property/set_editor_property)
lod_indices
(Array[int32]): [Read-Write] LOD indices for which the materials should be baked outproperties
(Array[PropertyEntry]): [Read-Write] Properties which are supposed to be baked out for the material(s)texture_coordinate_index
(int32): [Read-Write] Specific texture coordinate which should be used to while baking out material properties as the positions streamtexture_size
(IntPoint): [Read-Write] Size of the final texture(s) containing the baked out property datause_mesh_data
(bool): [Read-Write] Determines whether to not allow usage of the source mesh data while baking out material propertiesuse_specific_uv_index
(bool): [Read-Write] Flag whether or not the value of TextureCoordinateIndex should be used while baking out material properties
- property lod_indices: None¶
[Read-Write] LOD indices for which the materials should be baked out
- Type:
(Array[int32])
- property properties: None¶
[Read-Write] Properties which are supposed to be baked out for the material(s)
- Type:
- property texture_coordinate_index: int¶
[Read-Write] Specific texture coordinate which should be used to while baking out material properties as the positions stream
- Type:
(int32)
- property texture_size: IntPoint¶
[Read-Write] Size of the final texture(s) containing the baked out property data
- Type:
(IntPoint)