Microsoft SDK for Java

setColorRGB

This method of the Direct3dRMMeshBuilder Class sets all the faces of a Direct3dRMMeshBuilder object to a given color.

Syntax

public void setColorRGB(float red, float green, float blue);

Parameters

red The red component of the color.
green The green component of the color.
blue The blue component of the color.

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