PbrMaterial.AlphaClipThreshold Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.