Search Results for

    Show / Hide Table of Contents

    Class EyeAdaptationSettings

    Contains settings for Eye Adaptation effect rendering.

    Inheritance
    System.Object
    EyeAdaptationSettings
    Namespace: FlaxEngine
    Assembly: FlaxEngine.CSharp.dll
    Syntax
    [Unmanaged]
    public sealed class EyeAdaptationSettings : ValueType

    Fields

    HistogramHighPercent

    The upper bound for the luminance histogram of the scene color. This value is in percent and limits the pixels above this brightness. Use values in the range of 80-95. Used only in AutomaticHistogram mode.

    Declaration
    [Limit(1F, 99F, 0.001F)]
    [EditorOrder(3)]
    public float HistogramHighPercent
    Field Value
    System.Single

    HistogramLowPercent

    The lower bound for the luminance histogram of the scene color. This value is in percent and limits the pixels below this brightness. Use values in the range of 60-80. Used only in AutomaticHistogram mode.

    Declaration
    [Limit(1F, 99F, 0.001F)]
    [EditorOrder(3)]
    public float HistogramLowPercent
    Field Value
    System.Single

    MaxBrightness

    The maximum brightness for the auto exposure which limits the upper brightness the eye can adapt within.

    Declaration
    [Limit(0F, 100F, 0.01F)]
    [EditorOrder(6)]
    [EditorDisplay(null, "Maximum Brightness")]
    public float MaxBrightness
    Field Value
    System.Single

    MinBrightness

    The minimum brightness for the auto exposure which limits the lower brightness the eye can adapt within.

    Declaration
    [Limit(0F, 20F, 0.01F)]
    [EditorOrder(5)]
    [EditorDisplay(null, "Minimum Brightness")]
    public float MinBrightness
    Field Value
    System.Single

    Mode

    The effect rendering mode used for the exposure processing.

    Declaration
    [EditorOrder(0)]
    public EyeAdaptationMode Mode
    Field Value
    EyeAdaptationMode

    PostExposure

    The post-exposure value applied to the scene color after performing post-processing (such as bloom, lens flares, etc.) but before color grading and tone mapping.

    Declaration
    [Limit(-100F, 100F, 0.01F)]
    [EditorOrder(3)]
    public float PostExposure
    Field Value
    System.Single

    PreExposure

    The pre-exposure value applied to the scene color before performing post-processing (such as bloom, lens flares, etc.).

    Declaration
    [Limit(-100F, 100F, 0.01F)]
    [EditorOrder(3)]
    public float PreExposure
    Field Value
    System.Single

    SpeedDown

    The speed at which the exposure changes when the scene brightness moves from a bright area to a dark area (brightness goes down).

    Declaration
    [Limit(0F, 100F, 0.01F)]
    [EditorOrder(2)]
    public float SpeedDown
    Field Value
    System.Single

    SpeedUp

    The speed at which the exposure changes when the scene brightness moves from a dark area to a bright area (brightness goes up).

    Declaration
    [Limit(0F, 100F, 0.01F)]
    [EditorOrder(1)]
    public float SpeedUp
    Field Value
    System.Single

    Properties

    Default

    The default EyeAdaptationSettings.

    Declaration
    public static EyeAdaptationSettings Default { get; }
    Property Value
    EyeAdaptationSettings

    Extension Methods

    Extensions.ReflectiveCompare<T>(T, T)
    Extensions.RawClone<T>(T)
    In This Article
    Back to top Copyright © 2012-2024 Wojciech Figat