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

Method setEmissive

core/src/processing/opengl/PShapeOpenGL.java:2544–2559  ·  view source on GitHub ↗
(int emissive)

Source from the content-addressed store, hash-verified

2542
2543
2544 @Override
2545 public void setEmissive(int emissive) {
2546 if (openShape) {
2547 PGraphics.showWarning(INSIDE_BEGIN_END_ERROR, "setEmissive()");
2548 return;
2549 }
2550
2551 if (family == GROUP) {
2552 for (int i = 0; i < childCount; i++) {
2553 PShapeOpenGL child = (PShapeOpenGL) children[i];
2554 child.setEmissive(emissive);
2555 }
2556 } else {
2557 setEmissiveImpl(emissive);
2558 }
2559 }
2560
2561
2562 protected void setEmissiveImpl(int emissive) {

Callers 2

enableStyleMethod · 0.95
stylesMethod · 0.95

Calls 5

showWarningMethod · 0.95
setEmissiveImplMethod · 0.95
javaToNativeARGBMethod · 0.95
markForTessellationMethod · 0.95

Tested by

no test coverage detected