Click or drag to resize
DigitalRuneImageBillboardAlphaTest Property
Gets or sets a reference value for alpha testing.

Namespace: DigitalRune.Graphics
Assembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax
public float AlphaTest { get; set; }

Property Value

Type: Single
The reference value used in the alpha test. The reference value is a value in the range [0, 1]. If the alpha of a pixel is less than the reference alpha, the pixel is discarded. The default value is 0 (= alpha test disabled).
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionvalue is negative or greater than 1.
See Also