Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

CanvasRenderer.clippingSoftness

public Vector2 clippingSoftness;

Description

The clipping softness to apply to the renderer.

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