Microsoft SDK for Java

getSpecular

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

Syntax

public void getSpecular(float[] r, float[] g, float[] b);

Parameters

r The array variables that receive the red component of the color of the specular highlights when the method returns.
g The array variables that receive the green component of the color of the specular highlights when the method returns.
b The array variables that receive the blue component of the color of the specular highlights when the method returns.

See Also

setSpecular

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