pop up description layer

API Classes

JtkMaterial::setSpecularColor

int 
setSpecularColor(float* specular);
Description: Set the specular OpenGL color attribute of the JtkMaterial.
Inputs:

specular - A four element floating point array whose elements respectively refer to the red, green, blue, and alpha aspects of the OpenGL color. Each value in this array is in the range [0.0-1.0].

Outputs: n/a
Returns: Jtk_OK if successful, Jtk_ERROR otherwise.
See Also: getSpecularColor