Click or drag to resize
DigitalRuneLightNodeShadow Property
Gets or sets the shadow data of this light node.

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

Property Value

Type: Shadow
The shadow data. The default value is (no shadow).
Remarks

If this property is , this light node does not have a shadow.To enable shadows for this light node, Shadow must be set.

The Shadow type (e.g. StandardShadow, CascadedShadow or CubeMapShadow) must fit the light type. For instance, a DirectionalLight cannot have a CubeMapShadow.

Shadow instances must not be shared between LightNodes. If several LightNodes reference the same Shadow object, the last rendered light will overwrite the shadow maps of the other lights.

See Also