文档

Unity Engine

Unity Engine

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

rect

The rectangle outside of which geometry is clipped.

Remarks