LightShadowMap Class
Namespace: Stride.Rendering.LightsAssembly: Stride.Rendering.dll
Base class for a shadow map.
[DataContract("LightShadowMap")]
[Display("ShadowMap", null)]
public abstract class LightShadowMap : ILightShadow
Name | Description | |
---|---|---|
Constructors | ||
LightShadowMap() | Initializes a new instance of the LightShadowMap class. |
|
Properties | ||
BiasParameters | Gets the bias parameters. |
|
Debug | Gets or sets a value indicating whether this LightShadowMap is debug. |
|
Enabled | Gets or sets a value indicating whether this LightShadowMap is enabled. |
|
Filter | Gets or sets the shadow map filtering. |
|
Size | Gets or sets the size of the shadow-map. |
|
Methods | ||
GetCascadeCount() |
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
Type | Description |
---|---|
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
Type | Description |
---|---|
System.Boolean |
|
Enabled
Gets or sets a value indicating whether this LightShadowMap is enabled.
[DataMember(10)]
public bool Enabled { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Filter
Gets or sets the shadow map filtering.
[DataMember(20)]
public ILightShadowMapFilterType Filter { get; set; }
Property Value
Type | Description |
---|---|
ILightShadowMapFilterType | The filter type. |
Size
Gets or sets the size of the shadow-map.
[DataMember(30)]
public LightShadowMapSize Size { get; set; }
Property Value
Type | Description |
---|---|
LightShadowMapSize | The size. |
Methods
GetCascadeCount()
public virtual int GetCascadeCount()
Returns
Type | Description |
---|---|
System.Int32 |