Class LightDirectionalShadowMap.DepthRangeParameters
The depth range is set manually. This class cannot be inherited.
[DataContract("LightDirectionalShadowMap.DepthRangeParameters")]
[Display("Depth Range Parameters", null)]
public sealed class LightDirectionalShadowMap.DepthRangeParameters
- Inheritance
-
LightDirectionalShadowMap.DepthRangeParameters
Constructors
DepthRangeParameters()
Initializes a new instance of the LightDirectionalShadowMap.DepthRangeParameters class.
public DepthRangeParameters()
Fields
DefaultGuardDistance
The default guard distance for the auto mode.
public const float DefaultGuardDistance = 1
Field Value
DefaultMaxDistance
The default maximum distance
public const float DefaultMaxDistance = 50
Field Value
DefaultMinDistance
The default minimum distance
public const float DefaultMinDistance = 0
Field Value
Properties
IsAutomatic
Gets or sets a value indicating whether this instance is automatic.
[DataMember(0)]
[Display("Automatic?", null)]
public bool IsAutomatic { get; set; }
Property Value
- bool
true
if this instance is automatic; otherwise,false
.
IsBlendingCascades
Gets or sets a value indicating whether this instance is filtering accross cascades.
[DataMember(30)]
[Display("Blend Cascades?", null)]
public bool IsBlendingCascades { get; set; }
Property Value
- bool
true
if this instance is filtering accross cascades; otherwise,false
.
ManualMaxDistance
Gets or sets the maximum distance in world space unit.
[DataMember(20)]
public float ManualMaxDistance { get; set; }
Property Value
- float
The maximum distance.
ManualMinDistance
Gets or sets the minimum distance in world space unit.
[DataMember(10)]
public float ManualMinDistance { get; set; }
Property Value
- float
The minimum distance.