Version: 2023.2

CanvasRenderer.clippingSoftness

切换到手册
public Vector2 clippingSoftness ;

描述

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.