ドキュメント

Unity Engine


User Manual

Script Reference

Unity Engine


EnableScissorRect(Rect)

Add a command to enable the hardware scissor rectangle.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

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.