Class Exposure
A volume component that holds settings for the Exposure effect.
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
meteringMode
Specifies the metering method that HDRP uses the filter the luminance source.
Declaration
public MeteringModeParameter meteringMode
Field Value
Type | Description |
---|---|
MeteringModeParameter |
See Also
mode
Specifies the method that HDRP uses to process exposure.
Declaration
public ExposureModeParameter mode
Field Value
Type | Description |
---|---|
ExposureModeParameter |
See Also
Methods
IsActive()
Tells if the effect needs to be rendered or not.
Declaration
public bool IsActive()
Returns
Type | Description |
---|---|
Boolean |
|