Static p5_sys::global::noDebugMode [−][src]
pub static noDebugMode: NoDebugModeInternalType
Expand description
Turns off debugMode() in a 3D sketch.
Examples
function setup() { createCanvas(100, 100, WEBGL); camera(0, -30, 100, 0, 0, 0, 0, 1, 0); normalMaterial(); debugMode(); } function draw() { background(200); orbitControl(); box(15, 30); // Press the spacebar to turn debugMode off! if (keyIsDown(32)) { noDebugMode(); } }