88

Controlling appearance
Material Class Methods

Method Default
Material( ) -
void setAmbientColor( Color3f color ) 0.2 0.2 0.2
void setEmissiveColor( Color3f color ) 0.0 0.0 0.0
void setDiffuseColor( Color3f color ) 1.0 1.0 1.0
void setSpecularColor( Color3f color ) 1.0 1.0 1.0
void setShininess( float shininess ) 0.0
void setLightingEnable( boolean state ) true