EnableRectClipping(Rect)
Enables rect clipping on the CanvasRendered. Geometry outside of the specified rect will be clipped (not rendered).
阅读时间1 分钟最后更新于 21 天前
Definition
- Type: Method
- Namespace: UnityEngine
- Assembly: UnityEngine.UIModule
public void EnableRectClipping(Rect rect)
Parameters
The rectangle outside of which geometry is clipped.
Remarks
Additional Resources: CanvasRenderer.DisableRectClipping