文档

Unity Engine

Unity Engine

EnableScissorRect(Rect)

Add a command to enable the hardware scissor rectangle.
阅读时间1 分钟最后更新于 13 小时前

Definition

public void EnableScissorRect(Rect scissor)

Parameters

scissor

Viewport rectangle in pixel coordinates.

Remarks

This command can be used to clip regions of the screen from rendering.
Additional Resources: CommandBuffer.DisableScissorRect.