MeshVertexColors

指定网格的顶点颜色,而不是按面或按网格应用材料。

template MeshVertexColors
{
    <1630B821-7842-11cf-8F52-0040333594A3>
    DWORD nVertexColors;
    array IndexColor vertexColors[nVertexColors];
} 

其中:

  • nVertexColors - 颜色数。 这与网格中的顶点数匹配。
  • array IndexColor vertexColors[nVertexColors] - 索引颜色数组。 请参阅 IndexedColor

另请参阅

模板