beginCamera()

Lights Camera / Camera

Description

Opens a section of code that can include shapes to be rendered into the camera-space. Must be paired with endCamera().

Syntax

void beginCamera()

Parameters

None

Returns

void

Related

Under the Hood

From Processing.h:

void beginCamera();

Under the Hood

From Processing.cpp:

void PApplet::beginCamera(){glMatrixMode(GL_MODELVIEW);glPushMatrix();}