Stride

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

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

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

    LightDirectionalShadowMap.DepthRangeParameters Class

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

    The depth range is set manually. This class cannot be inherited.

    System.Object → LightDirectionalShadowMap.DepthRangeParameters
    Derived from LightDirectionalShadowMap.DepthRangeParameters:

    [DataContract("LightDirectionalShadowMap.DepthRangeParameters")]
    [Display("Depth Range Parameters", null)]
    public sealed class DepthRangeParameters
    Name Description
    Constructors
    DepthRangeParameters()

    Initializes a new instance of the LightDirectionalShadowMap.DepthRangeParameters class.

    Fields
    DefaultGuardDistance

    The default guard distance for the auto mode.

    DefaultMaxDistance

    The default maximum distance

    DefaultMinDistance

    The default minimum distance

    Properties
    IsAutomatic

    Gets or sets a value indicating whether this instance is automatic.

    IsBlendingCascades

    Gets or sets a value indicating whether this instance is filtering accross cascades.

    ManualMaxDistance

    Gets or sets the maximum distance in world space unit.

    ManualMinDistance

    Gets or sets the minimum distance in world space unit.

    | Improve this Doc View Source

    Constructors


    DepthRangeParameters()

    Initializes a new instance of the LightDirectionalShadowMap.DepthRangeParameters class.

    public DepthRangeParameters()
    | Improve this Doc View Source

    Fields


    DefaultGuardDistance

    The default guard distance for the auto mode.

    public const float DefaultGuardDistance = 1F
    Field Value
    Type Description
    System.Single

    DefaultMaxDistance

    The default maximum distance

    public const float DefaultMaxDistance = 50F
    Field Value
    Type Description
    System.Single

    DefaultMinDistance

    The default minimum distance

    public const float DefaultMinDistance = 0F
    Field Value
    Type Description
    System.Single
    | Improve this Doc View Source

    Properties


    IsAutomatic

    Gets or sets a value indicating whether this instance is automatic.

    [DataMember(0)]
    [Display("Automatic?", null)]
    public bool IsAutomatic { get; set; }
    Property Value
    Type Description
    System.Boolean

    true if this instance is automatic; otherwise, false.


    IsBlendingCascades

    Gets or sets a value indicating whether this instance is filtering accross cascades.

    [DataMember(30)]
    [Display("Blend Cascades?", null)]
    public bool IsBlendingCascades { get; set; }
    Property Value
    Type Description
    System.Boolean

    true if this instance is filtering accross cascades; otherwise, false.


    ManualMaxDistance

    Gets or sets the maximum distance in world space unit.

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

    The maximum distance.


    ManualMinDistance

    Gets or sets the minimum distance in world space unit.

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

    The minimum distance.


    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