Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
SiliconStudio.Paradox.Effects.ShadowMap Class Reference

Represents a ShadowMap. More...

Public Member Functions

 ShadowMap (DirectionalLight light)
 
ShadowMap SetFilter (Func< ShadowMap, ShadowMapFilter > initializeFilter)
 

Properties

int ShadowMapSize [get, set]
 Gets or sets the size of the shadow map (default: 1024) More...
 
Texture Texture [get, set]
 
float ShadowDistance [get, set]
 Gets or sets the shadow distance. More...
 
Light Light [get, set]
 Gets the associated light. More...
 
DirectionalLight DirectionalLight [get]
 Gets the associated light, as a DirectionalLight. More...
 
CascadeShadowMapLevel Level [get, set]
 Gets or sets the level of shadow maps (default: CascadeShadowMapLevel.X4) More...
 
Vector4[] TextureCoordsBorder [get, set]
 
ShadowMapFilter Filter [get, set]
 

Detailed Description

Represents a ShadowMap.

Definition at line 11 of file ShadowMap.cs.

Constructor & Destructor Documentation

SiliconStudio.Paradox.Effects.ShadowMap.ShadowMap ( DirectionalLight  light)

Definition at line 15 of file ShadowMap.cs.

Member Function Documentation

ShadowMap SiliconStudio.Paradox.Effects.ShadowMap.SetFilter ( Func< ShadowMap, ShadowMapFilter initializeFilter)

Definition at line 98 of file ShadowMap.cs.

Property Documentation

DirectionalLight SiliconStudio.Paradox.Effects.ShadowMap.DirectionalLight
get

Gets the associated light, as a DirectionalLight.

Definition at line 67 of file ShadowMap.cs.

ShadowMapFilter SiliconStudio.Paradox.Effects.ShadowMap.Filter
getset
CascadeShadowMapLevel SiliconStudio.Paradox.Effects.ShadowMap.Level
getset

Gets or sets the level of shadow maps (default: CascadeShadowMapLevel.X4)

The level.

Definition at line 75 of file ShadowMap.cs.

Light SiliconStudio.Paradox.Effects.ShadowMap.Light
getset

Gets the associated light.

Definition at line 62 of file ShadowMap.cs.

float SiliconStudio.Paradox.Effects.ShadowMap.ShadowDistance
getset

Gets or sets the shadow distance.

The shadow distance.

Maximum distance in camera space to render the shadow

Definition at line 54 of file ShadowMap.cs.

int SiliconStudio.Paradox.Effects.ShadowMap.ShadowMapSize
getset

Gets or sets the size of the shadow map (default: 1024)

The size of the shadow map.

Definition at line 36 of file ShadowMap.cs.

Referenced by SiliconStudio.Paradox.Effects.LightingPlugin.AddShadowMap().

Texture SiliconStudio.Paradox.Effects.ShadowMap.Texture
getset

Definition at line 39 of file ShadowMap.cs.

Vector4 [] SiliconStudio.Paradox.Effects.ShadowMap.TextureCoordsBorder
getset

Definition at line 77 of file ShadowMap.cs.


The documentation for this class was generated from the following file: