Version: 2019.2
public void EnableScissorRect (Rect scissor);

Parameters

scissorViewport rectangle in pixel coordinates.

Description

Add a command to enable the hardware scissor rectangle.

This command can be used to clip regions of the screen from rendering.

See Also: DisableScissorRect.