This version of Unity is unsupported.

CommandBuffer.EnableScissorRect

Declaration

public void EnableScissorRect(Rect scissor);

Parameters

scissor Viewport 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.

Additional resources: DisableScissorRect.