| ShadowShadowMask Property |
Gets or sets the shadow mask.
Namespace: DigitalRune.GraphicsAssembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax public RenderTarget2D ShadowMask { get; set; }
Public Property ShadowMask As RenderTarget2D
Get
Set
public:
property RenderTarget2D^ ShadowMask {
RenderTarget2D^ get ();
void set (RenderTarget2D^ value);
}
member ShadowMask : RenderTarget2D with get, set
Property Value
Type:
RenderTarget2DThe shadow mask. The default value is
.
Remarks
This property is set by the shadow mask renderer.
The shadow mask is a render target with the same size as the scene. It contains the filtered
shadow values (0 = shadow, 1 = no shadow) as viewed from the camera.
See Also