MCPcopy Index your code
hub / github.com/processing/processing / emissive

Method emissive

core/src/processing/core/PGraphics.java:7008–7018  ·  view source on GitHub ↗

( 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)

Source from the content-addressed store, hash-verified

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

Callers 1

styleMethod · 0.95

Calls 2

colorCalcMethod · 0.95
emissiveFromCalcMethod · 0.95

Tested by

no test coverage detected