文档

Unity Engine

Unity Engine

isMask

Is the UIRenderer a mask component.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.UIModule
警告
Deprecated. isMask is no longer supported.See EnableClipping for vertex clipping configuration
public bool isMask { get; set; }

Remarks

If the UI renderer is configured to be a masking component then children components will only render if they intersect the mask area created by this pass.