Microsoft SDK for Java

setSpecular

This method of the Direct3dRMMaterial Class sets the color of the specular highlights of a material.

Syntax

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

Parameters

r The red component of the specular highlight color.
g The green component of the specular highlight color.
b The blue component of the specular highlight color.

See Also

getSpecular

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