Click or drag to resize
AB4D logo

ShadowRenderingProviderBase Class

ShadowRenderingProviderBase is an abstract class that is a base class for all shadow rendering providers that change DXEngine rendering steps with adding shadow rendering.
Inheritance Hierarchy
SystemObject
  Ab3d.DirectXDXResourceBase
    Ab3d.DirectXDisposableDXResource
      Ab3d.DirectXDXSceneResource
        Ab3d.DirectXShadowRenderingProviderBase
          Ab3d.DirectXPlanarShadowRenderingProvider
          Ab3d.DirectXScreenSpaceAmbientOcclusionRenderingProvider
          Ab3d.DirectXVarianceShadowRenderingProvider

Namespace: Ab3d.DirectX
Assembly: Ab3d.DXEngine (in Ab3d.DXEngine.dll) Version: 7.0.8865.1045
Syntax
C#
public abstract class ShadowRenderingProviderBase : DXSceneResource

The ShadowRenderingProviderBase type exposes the following members.

Properties
 NameDescription
Public propertyIsEnabled Gets or sets a Boolean that specifies if this shadow rendering provider is enabled or not. Default value is true.
Top
Methods
 NameDescription
Public methodStatic memberCollectNonShadowLights Clears the filteredLights list and fills it with all lights that have IsCastingShadow set to false (or do not define IsCastingShadow or ISpotLight interface).
Public methodStatic memberCollectShadowLights Clears the filteredLights list and fills it with all lights that have IsCastingShadow set to true and implement ISpotLight interface.
Public methodStatic memberIsLightCastingShadow Returns true if the light is casting shadow (implements IShadowCastingLight as has IsCastingShadow property set to true).
Public methodUpdate Update method is called on each DXScene.Update call before rendering of the scene begins. If derived class need to create some SceneNodes then they should be created in the overridden methods.
Top
See Also