clippingEdgeSoftness
The clipping softness to apply to each edge of the renderer's clip rect.
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Property
- Namespace: UnityEngine
- Assembly: UnityEngine.UIModule
public Vector4 clippingEdgeSoftness { get; set; }
Remarks
X is the left edge, Y the bottom, Z the right and W the top. Each edge fades linearly over half that many pixels, as with clippingSoftness. The value is passed to the shader through the _UIMaskSoftness property.