Class LightDirectionalShadowMap
A directional shadow map.
[DataContract("LightDirectionalShadowMap")]
[Display("Directional ShadowMap", null)]
public class LightDirectionalShadowMap : LightShadowMap, ILightShadow
  - Inheritance
 - 
      objectLightDirectionalShadowMap
 
- Implements
 
- Inherited Members
 
Constructors
LightDirectionalShadowMap()
Initializes a new instance of the LightShadowMap class.
public LightDirectionalShadowMap()
  Properties
CascadeCount
Gets or Sets the number of cascades for this shadow (valid only for directional lights)
[DataMember(50)]
public LightShadowMapCascadeCount CascadeCount { get; set; }
  Property Value
- LightShadowMapCascadeCount
 The number of cascades for this shadow.
ComputeTransmittance
Specifies if transmittance should be computed (necessary for hair and skin rendering).
[DataMember(100)]
public bool ComputeTransmittance { get; set; }
  Property Value
DepthRange
Gets or sets the depth range mode.
[DataMember(80)]
[Display("Depth Range", null, Expand = ExpandRule.Always)]
public LightDirectionalShadowMap.DepthRangeParameters DepthRange { get; }
  Property Value
- LightDirectionalShadowMap.DepthRangeParameters
 The depth range mode.
PartitionMode
Gets or sets the partition mode.
[DataMember(90)]
public LightDirectionalShadowMap.PartitionModeBase PartitionMode { get; set; }
  Property Value
- LightDirectionalShadowMap.PartitionModeBase
 The partition mode.
StabilizationMode
Gets or Sets the stabilization mode of the shadow map
[DataMember(60)]
public LightShadowMapStabilizationMode StabilizationMode { get; set; }
  Property Value
Methods
GetCascadeCount()
public override int GetCascadeCount()