Microsoft SDK for Java

setColorRGB

This method of the Direct3dRMLight Class sets the color of the given light.

Syntax

public void setColorRGB(float r, float g, float b);

Parameters

r The red element of the new color of the light.
g The green element of the new color of the light.
b The blue element of the new color of the light.

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