Class ShadowMapComponent
Sets the shadow map manager properties.
Inheritance
ShadowMapComponent
Implements
Inherited Members
Namespace: Evergine.Components.Graphics3D
Assembly: Evergine.Framework.dll
Syntax
[Obsolete("Managers should be configured from Scene Managers panel")]
public class ShadowMapComponent : Component, IDependencyObject
Properties
AutoDepthBounds
Gets or sets a value indicating whether the compute depth bounds are enabled.
Declaration
public bool AutoDepthBounds { get; set; }
Property Value
Type | Description |
---|---|
bool |
DirectionalResolution
Gets or sets the directional shadow map texture size.
Declaration
public ShadowMapProvider.ShadowMapSize DirectionalResolution { get; set; }
Property Value
Type | Description |
---|---|
ShadowMapProvider.ShadowMapSize |
PunctualResolution
Gets or sets the punctual shadow map texture size.
Declaration
public ShadowMapProvider.ShadowMapSize PunctualResolution { get; set; }
Property Value
Type | Description |
---|---|
ShadowMapProvider.ShadowMapSize |
ShadowFilter
Gets or sets the shadow filter for ShadowMapProvider.Filter.
Declaration
public ShadowMapProvider.Filter ShadowFilter { get; set; }
Property Value
Type | Description |
---|---|
ShadowMapProvider.Filter |
SpotResolution
Gets or sets the spot shadow map texture size.
Declaration
public ShadowMapProvider.ShadowMapSize SpotResolution { get; set; }
Property Value
Type | Description |
---|---|
ShadowMapProvider.ShadowMapSize |
Methods
OnAttached()
Invoked when the object is attached to the system.
Declaration
protected override bool OnAttached()
Returns
Type | Description |
---|---|
bool | True if everything is OK. |