Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


clippingSoftness

The clipping softness to apply to the renderer.
Read time 1 minuteLast updated 9 days ago

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.