Bottom edge of viewport [0..1], where 0 is bottom
Camera used for rendering
Height of viewport [0..1]
Left edge of viewport [0…1], where 0 is left
Name of the viewport
Width of viewport [0..1]
Check if provided screen coordinate is within the viewport
Screen-space coordinate relative to top-left corner of viewport [px]
Screen-space coordinate relative to top-left corner of viewport [px]
Set viewport offset and size on screen
Left edge of viewport [0..1], where 0 is left
Bottom edge of viewport [0..1], where 0 is bottom
Width of viewport [0..1]
Height of viewport [0..1]
Generated using TypeDoc
A viewport is a sub-area of the entire rendering surface, see https://threejs.org/docs/#api/renderers/WebGLRenderer.setViewport