MeshVertexColors
Specifies vertex colors for a mesh, instead of applying a material per face or per mesh.
template MeshVertexColors
{
<1630B821-7842-11cf-8F52-0040333594A3>
DWORD nVertexColors;
array IndexColor vertexColors[nVertexColors];
}
Where:
- nVertexColors - Number of colors. This matches the number of vertices in the mesh.
- array IndexColor vertexColors[nVertexColors] - Array of indexed colors. See IndexedColor.
See also