Microsoft SDK for Java

setVertexColorRGB

This method of the Direct3dRMMeshBuilder Class sets the color of a specified vertex in a Direct3dRMMeshBuilder object.

Syntax

public void setVertexColorRGB(int idx, float r, float g, float b);

Parameters

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.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.