A wrapper around the HTML canvas element that projects from 3D onto the canvas. This utility conveniently integrates with the PerspectiveCamera to provide an overlay for WebGL.
PerspectiveCamera
The canvas elementId or the HTML canvas element.
Provides the camera (eye, look, and up) parameters.
Provides the viewport (near, far, fov, and aspect) parameters.
Readonly
Optional
A wrapper around the HTML canvas element that projects from 3D onto the canvas. This utility conveniently integrates with the
PerspectiveCamera
to provide an overlay for WebGL.