PbrMaterial.AlphaClipThreshold Property

Definition

Threshold that is used for alpha cutouts.

public:
 property float AlphaClipThreshold { float get(); void set(float value); };
public float AlphaClipThreshold { get; set; }
member this.AlphaClipThreshold : single with get, set
Public Property AlphaClipThreshold As Single

Property Value

Remarks

If a pixel's final alpha value falls below this threshold, the pixel is clipped, creating a hard cutout. Note that the material's AlphaClipped flag has to be set, for this threshold to have an effect.

A InvalidParam error occurs if the value is outside [0..1] range.

Applies to