Class AutoExposure | Post Processing | 2.3.0
docs.unity3d.com
    Show / Hide Table of Contents

    Class AutoExposure

    This class holds settings for the Auto Exposure effect.

    Inheritance
    Object
    PostProcessEffectSettings
    AutoExposure
    Inherited Members
    PostProcessEffectSettings.active
    PostProcessEffectSettings.enabled
    PostProcessEffectSettings.SetAllOverridesTo(Boolean, Boolean)
    PostProcessEffectSettings.GetHash()
    Namespace: UnityEngine.Rendering.PostProcessing
    Syntax
    [Serializable]
    public sealed class AutoExposure : PostProcessEffectSettings

    Fields

    eyeAdaptation

    The type of eye adaptation to use.

    Declaration
    [DisplayName("Type")]
    public EyeAdaptationParameter eyeAdaptation
    Field Value
    Type Description
    EyeAdaptationParameter

    filtering

    These values are the lower and upper percentages of the histogram that will be used to find a stable average luminance. Values outside of this range will be discarded and wont contribute to the average luminance.

    Declaration
    [MinMax(1F, 99F)]
    [DisplayName("Filtering (%)")]
    public Vector2Parameter filtering
    Field Value
    Type Description
    Vector2Parameter

    keyValue

    Middle-grey value. Use this to compensate the global exposure of the scene.

    Declaration
    [Min(0F)]
    [DisplayName("Exposure Compensation")]
    public FloatParameter keyValue
    Field Value
    Type Description
    FloatParameter

    maxLuminance

    Maximum average luminance to consider for auto exposure (in EV).

    Declaration
    [DisplayName("Maximum (EV)")]
    public FloatParameter maxLuminance
    Field Value
    Type Description
    FloatParameter

    minLuminance

    Minimum average luminance to consider for auto exposure (in EV).

    Declaration
    [DisplayName("Minimum (EV)")]
    public FloatParameter minLuminance
    Field Value
    Type Description
    FloatParameter

    speedDown

    The adaptation speed from a light to a dark environment.

    Declaration
    [Min(0F)]
    public FloatParameter speedDown
    Field Value
    Type Description
    FloatParameter

    speedUp

    The adaptation speed from a dark to a light environment.

    Declaration
    [Min(0F)]
    public FloatParameter speedUp
    Field Value
    Type Description
    FloatParameter

    Methods

    IsEnabledAndSupported(PostProcessRenderContext)

    Returns true if the effect is currently enabled and supported.

    Declaration
    public override bool IsEnabledAndSupported(PostProcessRenderContext context)
    Parameters
    Type Name Description
    PostProcessRenderContext context

    The current post-processing render context

    Returns
    Type Description
    Boolean

    true if the effect is currently enabled and supported

    Overrides
    PostProcessEffectSettings.IsEnabledAndSupported(PostProcessRenderContext)
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023