Stride

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

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

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

    LightShadowMap.ShadowMapBiasParameters Class

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

    Bias parameters used for shadow map.

    System.Object → LightShadowMap.ShadowMapBiasParameters
    Derived from LightShadowMap.ShadowMapBiasParameters:

    [DataContract("LightShadowMap.ShadowMapBiasParameters")]
    public sealed class ShadowMapBiasParameters
    Name Description
    Constructors
    ShadowMapBiasParameters()

    Initializes a new instance of the LightShadowMap.ShadowMapBiasParameters class.

    Properties
    DepthBias

    Gets or sets the depth bias used for shadow map comparison.

    NormalOffsetScale

    Gets or sets the offset scale in world space unit along the surface normal.

    | Improve this Doc View Source

    Constructors


    ShadowMapBiasParameters()

    Initializes a new instance of the LightShadowMap.ShadowMapBiasParameters class.

    public ShadowMapBiasParameters()
    | Improve this Doc View Source

    Properties


    DepthBias

    Gets or sets the depth bias used for shadow map comparison.

    [DataMember(10)]
    public float DepthBias { get; set; }
    Property Value
    Type Description
    System.Single

    The bias.


    NormalOffsetScale

    Gets or sets the offset scale in world space unit along the surface normal.

    [DataMember(20)]
    public float NormalOffsetScale { get; set; }
    Property Value
    Type Description
    System.Single

    The offset scale.


    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