LightShadowMapTexture Class
Namespace: Stride.Rendering.Shadows
Assembly: Stride.Rendering.dll
An allocated shadow map texture associated to a light.
System.Object →
LightShadowMapTexture
Derived from LightShadowMapTexture:
public class LightShadowMapTexture
|
Improve this Doc
View Source
Fields
MaxRectangles
public const int MaxRectangles = 6
Field Value
Type |
Description |
System.Int32 |
|
Renderer
public ILightShadowMapRenderer Renderer
Field Value
ShaderData
public ILightShadowMapShaderData ShaderData
Field Value
|
Improve this Doc
View Source
Properties
Atlas
public ShadowMapAtlasTexture Atlas { get; }
Property Value
CascadeCount
public int CascadeCount { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
CurrentMaxDistance
public float CurrentMaxDistance { get; set; }
Property Value
Type |
Description |
System.Single |
|
CurrentMinDistance
public float CurrentMinDistance { get; set; }
Property Value
Type |
Description |
System.Single |
|
FilterType
public Type FilterType { get; }
Property Value
Type |
Description |
System.Type |
|
Light
public IDirectLight Light { get; }
Property Value
RenderLight
public RenderLight RenderLight { get; }
Property Value
RenderView
public RenderView RenderView { get; }
Property Value
Shadow
public LightShadowMap Shadow { get; }
Property Value
ShadowType
public LightShadowType ShadowType { get; }
Property Value
Size
Property Value
Type |
Description |
System.Int32 |
|
TextureId
public byte TextureId { get; }
Property Value
Type |
Description |
System.Byte |
|
|
Improve this Doc
View Source
Methods
GetRectangle(Int32)
public Rectangle GetRectangle(int i)
Parameters
Type |
Name |
Description |
System.Int32 |
i |
|
Returns
Initialize(RenderView, RenderLight, IDirectLight, LightShadowMap, Int32, ILightShadowMapRenderer)
public void Initialize(RenderView renderView, RenderLight renderLight, IDirectLight light, LightShadowMap shadowMap, int size, ILightShadowMapRenderer renderer)
Parameters
SetRectangle(Int32, Rectangle)
public void SetRectangle(int i, Rectangle value)
Parameters
Type |
Name |
Description |
System.Int32 |
i |
|
Rectangle |
value |
|
Extension Methods