Click or drag to resize
DigitalRuneShadowShadowMaskChannel Property
Gets or sets the shadow mask channel.

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

Property Value

Type: Int32
The shadow mask channel. The default value is 0.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionvalue is less than 0 or greater than 3.
Remarks
Each ShadowMask can contain the shadow terms of several shadows. Each shadow uses one channel (R, G, B, or A) of the shadow mask. The ShadowMaskChannel is the index of the used channel (0 = R, 1 = B, 2 = G, 3 = A).
See Also