LightDirectionalShadowMap.DepthRangeParameters Class
Namespace: Stride.Rendering.LightsAssembly: Stride.Rendering.dll
The depth range is set manually. This class cannot be inherited.
[DataContract("LightDirectionalShadowMap.DepthRangeParameters")]
[Display("Depth Range Parameters", null)]
public sealed class DepthRangeParameters
| Name | Description | |
|---|---|---|
| Constructors | ||
| DepthRangeParameters() | Initializes a new instance of the LightDirectionalShadowMap.DepthRangeParameters class. |
|
| Fields | ||
| DefaultGuardDistance | The default guard distance for the auto mode. |
|
| DefaultMaxDistance | The default maximum distance |
|
| DefaultMinDistance | The default minimum distance |
|
| Properties | ||
| IsAutomatic | Gets or sets a value indicating whether this instance is automatic. |
|
| IsBlendingCascades | Gets or sets a value indicating whether this instance is filtering accross cascades. |
|
| ManualMaxDistance | Gets or sets the maximum distance in world space unit. |
|
| ManualMinDistance | Gets or sets the minimum distance in world space unit. |
|
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 = 1F
Field Value
| Type | Description |
|---|---|
| System.Single |
DefaultMaxDistance
The default maximum distance
public const float DefaultMaxDistance = 50F
Field Value
| Type | Description |
|---|---|
| System.Single |
DefaultMinDistance
The default minimum distance
public const float DefaultMinDistance = 0F
Field Value
| Type | Description |
|---|---|
| System.Single |
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
| Type | Description |
|---|---|
| System.Boolean |
|
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
| Type | Description |
|---|---|
| System.Boolean |
|
ManualMaxDistance
Gets or sets the maximum distance in world space unit.
[DataMember(20)]
public float ManualMaxDistance { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Single | The maximum distance. |
ManualMinDistance
Gets or sets the minimum distance in world space unit.
[DataMember(10)]
public float ManualMinDistance { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Single | The minimum distance. |