/** * Sets the diffuse color for front faces. * @param diffuse the diffuse color. */ public void setDiffuseFront(Color diffuse) { _diffuseFront = toArray(diffuse); _diffuseFrontSet = true; }
/** * Sets the ambient color for front faces. * @param ambient the ambient color. */ public void setAmbientFront(Color ambient) { _ambientFront = toArray(ambient); _ambientFrontSet = true; }
/** * Sets the specular color for front and back faces. * @param specular the specular color. */ public void setSpecular(Color specular) { _specularFront = _specularBack = toArray(specular); _specularFrontSet = _specularBackSet = true; }
/** * Sets the ambient color for front and back faces. * @param ambient the ambient color. */ public void setAmbient(Color ambient) { _ambientFront = _ambientBack = toArray(ambient); _ambientFrontSet = _ambientBackSet = true; }
/** * Sets the specular color for back faces. * @param specular the specular color. */ public void setSpecularBack(Color specular) { _specularBack = toArray(specular); _specularBackSet = true; }
/** * Sets the emissive color for front and back faces. * @param emissive the emissive color. */ public void setEmissive(Color emissive) { _emissiveFront = _emissiveBack = toArray(emissive); _emissiveFrontSet = _emissiveBackSet = true; }
/** * Sets the diffuse color for front and back faces. * @param diffuse the diffuse color. */ public void setDiffuse(Color diffuse) { _diffuseFront = _diffuseBack = toArray(diffuse); _diffuseFrontSet = _diffuseBackSet = true; }
/** * Sets the diffuse color for back faces. * @param diffuse the diffuse color. */ public void setDiffuseBack(Color diffuse) { _diffuseBack = toArray(diffuse); _diffuseBackSet = true; }
/** * Sets the emissive color for front faces. * @param emissive the emissive color. */ public void setEmissiveFront(Color emissive) { _emissiveFront = toArray(emissive); _emissiveFrontSet = true; }
/** * Sets the ambient color for back faces. * @param ambient the ambient color. */ public void setAmbientBack(Color ambient) { _ambientBack = toArray(ambient); _ambientBackSet = true; }
/** * Sets the specular color for front faces. * @param specular the specular color. */ public void setSpecularFront(Color specular) { _specularFront = toArray(specular); _specularFrontSet = true; }
/** * Sets the emissive color for back faces. * @param emissive the emissive color. */ public void setEmissiveBack(Color emissive) { _emissiveBack = toArray(emissive); _emissiveBackSet = true; }