Name

endCamera()

Description

The beginCamera() and endCamera() functions enable advanced customization of the camera space. Please see the reference for beginCamera() for a description of how the functions are used.

Examples

  • size(400, 400, P3D);
    noFill();
    
    beginCamera();
    camera();
    rotateX(-PI/6);
    endCamera();
    
    translate(200, 200, 0);
    rotateY(PI/3);
    box(180);
    Image output for example 1

Syntax

  • endCamera()

Return

  • void
Creative Commons License

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.