( begin auto-generated from emissive.xml ) Sets the emissive color of the material used for drawing shapes drawn to the screen. Used in combination with ambient() , specular() , and shininess() in setting the material properties of shapes. ( end auto-generated ) @webref lights_
(int rgb)
| 7006 | * @see PGraphics#shininess(float) |
| 7007 | */ |
| 7008 | public void emissive(int rgb) { |
| 7009 | // if (((rgb & 0xff000000) == 0) && (rgb <= colorModeX)) { |
| 7010 | // emissive((float) rgb); |
| 7011 | // |
| 7012 | // } else { |
| 7013 | // colorCalcARGB(rgb, colorModeA); |
| 7014 | // emissiveFromCalc(); |
| 7015 | // } |
| 7016 | colorCalc(rgb); |
| 7017 | emissiveFromCalc(); |
| 7018 | } |
| 7019 | |
| 7020 | /** |
| 7021 | * gray number specifying value between white and black |
no test coverage detected