Class Exposure | High Definition RP | 8.0.1
docs.unity3d.com
    Show / Hide Table of Contents

    Class Exposure

    A volume component that holds settings for the Exposure effect.

    Inheritance
    Object
    Exposure
    Namespace: UnityEngine.Rendering.HighDefinition
    Syntax
    [Serializable]
    public sealed class Exposure : VolumeComponent, IPostProcessComponent

    Fields

    adaptationMode

    Specifies the method that HDRP uses to change the exposure when the Camera moves from dark to light and vice versa. This parameter is only used when Automatic or CurveMapping is set.

    Declaration
    public AdaptationModeParameter adaptationMode
    Field Value
    Type Description
    AdaptationModeParameter

    adaptationSpeedDarkToLight

    Sets the speed at which the exposure changes when the Camera moves from a dark area to a bright area. This parameter is only used when Automatic or CurveMapping is set.

    Declaration
    public MinFloatParameter adaptationSpeedDarkToLight
    Field Value
    Type Description
    MinFloatParameter

    adaptationSpeedLightToDark

    Sets the speed at which the exposure changes when the Camera moves from a bright area to a dark area. This parameter is only used when Automatic or CurveMapping is set.

    Declaration
    public MinFloatParameter adaptationSpeedLightToDark
    Field Value
    Type Description
    MinFloatParameter

    compensation

    Sets the compensation that the Camera applies to the calculated exposure value. This parameter is only used when any mode but Fixed is set.

    Declaration
    public FloatParameter compensation
    Field Value
    Type Description
    FloatParameter

    curveMap

    Specifies a curve that remaps the Scene exposure on the x-axis to the exposure you want on the y-axis. This parameter is only used when CurveMapping is set.

    Declaration
    public AnimationCurveParameter curveMap
    Field Value
    Type Description
    AnimationCurveParameter

    fixedExposure

    Sets a static exposure value for Cameras in this Volume. This parameter is only used when Fixed is set.

    Declaration
    public FloatParameter fixedExposure
    Field Value
    Type Description
    FloatParameter

    limitMax

    Sets the maximum value that the Scene exposure can be set to. This parameter is only used when Automatic or CurveMapping is set.

    Declaration
    public FloatParameter limitMax
    Field Value
    Type Description
    FloatParameter

    limitMin

    Sets the minimum value that the Scene exposure can be set to. This parameter is only used when Automatic or CurveMapping is set.

    Declaration
    public FloatParameter limitMin
    Field Value
    Type Description
    FloatParameter

    luminanceSource

    Specifies the luminance source that HDRP uses to calculate the current Scene exposure.

    Declaration
    public LuminanceSourceParameter luminanceSource
    Field Value
    Type Description
    LuminanceSourceParameter
    See Also
    LuminanceSource

    meteringMode

    Specifies the metering method that HDRP uses the filter the luminance source.

    Declaration
    public MeteringModeParameter meteringMode
    Field Value
    Type Description
    MeteringModeParameter
    See Also
    MeteringMode

    mode

    Specifies the method that HDRP uses to process exposure.

    Declaration
    public ExposureModeParameter mode
    Field Value
    Type Description
    ExposureModeParameter
    See Also
    ExposureMode

    Methods

    IsActive()

    Tells if the effect needs to be rendered or not.

    Declaration
    public bool IsActive()
    Returns
    Type Description
    Boolean

    true if the effect should be rendered, false otherwise.

    Implements
    IPostProcessComponent.IsActive()
    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