| ImageBillboardAlphaTest Property |
Gets or sets a reference value for alpha testing.
Namespace: DigitalRune.GraphicsAssembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax public float AlphaTest { get; set; }
Public Property AlphaTest As Single
Get
Set
public:
property float AlphaTest {
float get ();
void set (float value);
}
member AlphaTest : float32 with 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 See Also