文档

Unity Engine

Unity Engine

EnableRectClipping(Rect)

Enables rect clipping on the CanvasRendered. Geometry outside of the specified rect will be clipped (not rendered).
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.UIModule
public void EnableRectClipping(Rect rect)

Parameters

rect

Remarks

Additional Resources: CanvasRenderer.DisableRectClipping.