文档

Unity Engine

Unity Engine

clippingSoftness

The clipping softness to apply to the renderer.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.UIModule
public Vector2 clippingSoftness { get; set; }

Remarks

Clipping softness is a linear alpha fade of clippingSoftness pixels. It gets passed to the shader through the _MaskSoftnessX and _MaskSoftnessY properties.