CompositeShadow Class |
Namespace: DigitalRune.Graphics
The CompositeShadow type exposes the following members.
Name | Description | |
---|---|---|
CompositeShadow |
Initializes a new instance of the CompositeShadow class.
|
Name | Description | |
---|---|---|
Clone |
Creates a new Shadow that is a clone (deep copy) of the current instance.
(Inherited from Shadow.) | |
CloneCore |
Makes the instance a clone (deep copy) of the specified Shadow.
(Overrides ShadowCloneCore(Shadow).) | |
CreateInstanceCore |
When implemented in a derived class, creates a new instance of the
Shadow derived class.
(Overrides ShadowCreateInstanceCore.) | |
Equals | (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
Prefer16Bit |
Gets or sets a value indicating whether the shadow map should use a 16-bit format to store
depth.
(Inherited from Shadow.) | |
PreferredSize |
Gets or sets the size of the desired size of the shadow map in texels.
(Inherited from Shadow.) | |
ShadowMap |
Gets or sets the shadow map.
(Inherited from Shadow.) | |
ShadowMask |
Gets or sets the shadow mask.
(Inherited from Shadow.) | |
ShadowMaskChannel |
Gets or sets the shadow mask channel.
(Inherited from Shadow.) | |
Shadows |
Gets the list of shadows.
|
A CompositeShadow owns a collection of child shadows (see property Shadows). The CompositeShadow itself does not compute a shadow map (ShadowMap is always ). A shadow map is computed for each child shadow. The shadows of the child shadows will be combined in the ShadowMask of the CompositeShadow. The ShadowMasks of the child shadows will be .
Here ares some applications for composite shadows: