This method of the Direct3dRMMeshBuilder Class sets the color of a specified vertex in a Direct3dRMMeshBuilder object.
public void setVertexColorRGB(int idx, float r, float g, float b);
idx | The index of the vertex to be set. |
r | The red component of the color assigned to the specified vertex. |
g | The green component of the color assigned to the specified vertex. |
b | The blue component of the color assigned to the specified vertex. |