Click or drag to resize
DigitalRuneStandardShadow Class
Defines a standard shadow that can be used for Spotlights or ProjectorLights.
Inheritance Hierarchy

Namespace: DigitalRune.Graphics
Assembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax
public class StandardShadow : Shadow

The StandardShadow type exposes the following members.

Constructors
  NameDescription
Public methodStandardShadow
Initializes a new instance of the StandardShadow class.
Top
Methods
  NameDescription
Public methodClone
Creates a new Shadow that is a clone (deep copy) of the current instance.
(Inherited from Shadow.)
Protected methodCloneCore
Makes the instance a clone (deep copy) of the specified Shadow.
(Overrides ShadowCloneCore(Shadow).)
Protected methodCreateInstanceCore
When implemented in a derived class, creates a new instance of the Shadow derived class.
(Overrides ShadowCreateInstanceCore.)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Properties
  NameDescription
Public propertyDefaultNear
Gets or sets the default near plane distance for the shadow projection.
Public propertyDepthBias
Gets or sets the depth bias used to remove "surface acne".
Public propertyDepthBiasOffset Obsolete.
Gets or sets the depth bias offset used to remove surface acne.
Public propertyDepthBiasScale Obsolete.
Gets or sets the depth bias scale used to remove surface acne.
Public propertyFilterRadius
Gets or sets the filter radius.
Public propertyJitterResolution
Gets or sets the jitter resolution (for jitter sampling).
Public propertyNormalOffset
Gets or sets the normal offset used to remove "surface acne".
Public propertyNumberOfSamples
Gets or sets the number of filter samples.
Public propertyPrefer16Bit
Gets or sets a value indicating whether the shadow map should use a 16-bit format to store depth.
(Inherited from Shadow.)
Public propertyPreferredSize
Gets or sets the size of the desired size of the shadow map in texels.
(Inherited from Shadow.)
Public propertyShadowMap
Gets or sets the shadow map.
Public propertyShadowMask
Gets or sets the shadow mask.
(Inherited from Shadow.)
Public propertyShadowMaskChannel
Gets or sets the shadow mask channel.
(Inherited from Shadow.)
Top
See Also