MCPcopy Index your code
hub / github.com/benfry/processing4 / setSpecular

Method setSpecular

core/src/processing/opengl/PShapeOpenGL.java:2470–2485  ·  view source on GitHub ↗
(int specular)

Source from the content-addressed store, hash-verified

2468
2469
2470 @Override
2471 public void setSpecular(int specular) {
2472 if (openShape) {
2473 PGraphics.showWarning(INSIDE_BEGIN_END_ERROR, "setSpecular()");
2474 return;
2475 }
2476
2477 if (family == GROUP) {
2478 for (int i = 0; i < childCount; i++) {
2479 PShapeOpenGL child = (PShapeOpenGL) children[i];
2480 child.setSpecular(specular);
2481 }
2482 } else {
2483 setSpecularImpl(specular);
2484 }
2485 }
2486
2487
2488 protected void setSpecularImpl(int specular) {

Callers 2

enableStyleMethod · 0.95
stylesMethod · 0.95

Calls 5

showWarningMethod · 0.95
setSpecularImplMethod · 0.95
javaToNativeARGBMethod · 0.95
markForTessellationMethod · 0.95

Tested by

no test coverage detected