Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/threejs_4_deno/src/renderers/WebGLRenderer.js>WebGLRenderer#setScissorTest

A simple transformation of three.js for use within a Deno workflow
Go to Latest
method WebGLRenderer.prototype.setScissorTest
import { WebGLRenderer } from "https://deno.land/x/threejs_4_deno@v121/src/renderers/WebGLRenderer.js";

Enable the scissor test. When this is enabled, only the pixels within the defined scissor area will be affected by further renderer actions.

Parameters

enable: boolean