MaterialAssignment#
-
struct MaterialAssignment#
Defines which triangles and indices use a specific material.
This structure maps ranges of triangles and vertex indices to a specific material, allowing meshes to have multiple materials across different regions.
Public Members
-
int startTri#
Starting triangle index for this material assignment.
-
int endTri#
Ending triangle index for this material assignment.
-
int startIndices#
Starting vertex index for this material assignment.
-
int endIndices#
Ending vertex index for this material assignment.
-
int material#
Index of the material to use for this range.
-
int startTri#