EnableScissorRect(Rect)
Add a command to enable the hardware scissor rectangle.
읽는 시간 1분최근 업데이트: 한 달 전
Definition
- Type: Method
- Namespace: UnityEngine.Rendering
- Assembly: UnityEngine.CoreModule
public void EnableScissorRect(Rect scissor)
Parameters
Viewport rectangle in pixel coordinates.
Remarks
This command can be used to clip regions of the screen from rendering.
Additional Resources: CommandBuffer.DisableScissorRect.