Cogl.Pipeline.prototype.set_specular
function set_specular(specular: Cogl.Color): void {
// Gjs wrapper for cogl_pipeline_set_specular()
}
Sets the pipeline's specular color, in the standard OpenGL lighting model. The intensity of the specular color depends on the viewport position, and is brightest along the lines of reflection.
The default value is (0.0, 0.0, 0.0, 1.0)
Since 2.0
- specular
The components of the desired specular color