MCPcopy Create free account
hub / github.com/benfry/processing4 / emissive

Method emissive

core/src/processing/core/PShape.java:1238–1246  ·  view source on GitHub ↗
(int rgb)

Source from the content-addressed store, hash-verified

1236 // Emissive set/update
1237
1238 public void emissive(int rgb) {
1239 if (!openShape) {
1240 PGraphics.showWarning(OUTSIDE_BEGIN_END_ERROR, "emissive()");
1241 return;
1242 }
1243
1244 colorCalc(rgb);
1245 emissiveColor = calcColor;
1246 }
1247
1248
1249 public void emissive(float gray) {

Callers 1

defaultSettingsMethod · 0.45

Calls 2

showWarningMethod · 0.95
colorCalcMethod · 0.95

Tested by

no test coverage detected