Stride

OPEN / CLOSE
  • Features
  • Blog
  • Documentation
  • Community
(icon) Download

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

OPEN / CLOSE
  • English
  • 日本語
    Show / Hide Table of Contents

    LightShadowMap Class

    Namespace: Stride.Rendering.Lights
    Assembly: Stride.Rendering.dll

    Base class for a shadow map.

    System.Object → LightShadowMap
    Derived from LightShadowMap: LightDirectionalShadowMap LightPointShadowMap LightStandardShadowMap

    [DataContract("LightShadowMap")]
    [Display("ShadowMap", null)]
    public abstract class LightShadowMap : ILightShadow
    Name Description
    Constructors
    LightShadowMap()

    Initializes a new instance of the LightShadowMap class.

    Properties
    BiasParameters

    Gets the bias parameters.

    Debug

    Gets or sets a value indicating whether this LightShadowMap is debug.

    Enabled

    Gets or sets a value indicating whether this LightShadowMap is enabled.

    Filter

    Gets or sets the shadow map filtering.

    Size

    Gets or sets the size of the shadow-map.

    Methods
    GetCascadeCount()
    | Improve this Doc View Source

    Constructors


    LightShadowMap()

    Initializes a new instance of the LightShadowMap class.

    protected LightShadowMap()
    | Improve this Doc View Source

    Properties


    BiasParameters

    Gets the bias parameters.

    [DataMember(100)]
    [Display("Bias Parameters", null, Expand = ExpandRule.Always)]
    public LightShadowMap.ShadowMapBiasParameters BiasParameters { get; }
    Property Value
    Type Description
    LightShadowMap.ShadowMapBiasParameters

    The bias parameters.


    Debug

    Gets or sets a value indicating whether this LightShadowMap is debug.

    [DataMember(200)]
    public bool Debug { get; set; }
    Property Value
    Type Description
    System.Boolean

    true if debug; otherwise, false.


    Enabled

    Gets or sets a value indicating whether this LightShadowMap is enabled.

    [DataMember(10)]
    public bool Enabled { get; set; }
    Property Value
    Type Description
    System.Boolean

    true if enabled; otherwise, false.


    Filter

    Gets or sets the shadow map filtering.

    [DataMember(20)]
    public ILightShadowMapFilterType Filter { get; set; }
    Property Value
    Type Description
    ILightShadowMapFilterType

    The filter type.


    Size

    Gets or sets the size of the shadow-map.

    [DataMember(30)]
    public LightShadowMapSize Size { get; set; }
    Property Value
    Type Description
    LightShadowMapSize

    The size.

    | Improve this Doc View Source

    Methods


    GetCascadeCount()

    public virtual int GetCascadeCount()
    Returns
    Type Description
    System.Int32

    Extension Methods

    ComponentBaseExtensions.DisposeBy<T>(T, ICollectorHolder)
    ComponentBaseExtensions.RemoveDisposeBy<T>(T, ICollectorHolder)
    • Improve this Doc
    • View Source
    In This Article

    Back to top

    Copyright © 2019-2021 .NET Foundation and Contributors
    Supported by the .NET Foundation