Class LightShadowMap
Base class for a shadow map.
[DataContract("LightShadowMap")]
[Display("ShadowMap", null)]
public abstract class LightShadowMap : ILightShadow
- Inheritance
-
LightShadowMap
- Implements
- Derived
Constructors
LightShadowMap()
Initializes a new instance of the LightShadowMap class.
protected LightShadowMap()
Properties
BiasParameters
Gets the bias parameters.
[DataMember(100)]
[Display("Bias Parameters", null, Expand = ExpandRule.Always)]
public LightShadowMap.ShadowMapBiasParameters BiasParameters { get; }
Property Value
- LightShadowMap.ShadowMapBiasParameters
The bias parameters.
Debug
Gets or sets a value indicating whether this LightShadowMap is debug.
[DataMember(200)]
public bool Debug { get; set; }
Property Value
- bool
true
if debug; otherwise,false
.
Enabled
Gets or sets a value indicating whether this LightShadowMap is enabled.
[DataMember(10)]
public bool Enabled { get; set; }
Property Value
- bool
true
if enabled; otherwise,false
.
Filter
Gets or sets the shadow map filtering.
[DataMember(20)]
public ILightShadowMapFilterType Filter { get; set; }
Property Value
- ILightShadowMapFilterType
The filter type.
Size
Gets or sets the size of the shadow-map.
[DataMember(30)]
public LightShadowMapSize Size { get; set; }
Property Value
- LightShadowMapSize
The size.
Methods
GetCascadeCount()
public virtual int GetCascadeCount()