Class AutoExposure
This class holds settings for the Auto Exposure effect.
Inherited Members
Namespace: UnityEngine.Rendering.PostProcessing
Syntax
public sealed class AutoExposure : PostProcessEffectSettings
Fields
eyeAdaptation
The type of eye adaptation to use.
Declaration
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
public Vector2Parameter filtering
Field Value
Type | Description |
---|---|
Vector2Parameter |
keyValue
Middle-grey value. Use this to compensate the global exposure of the scene.
Declaration
public FloatParameter keyValue
Field Value
Type | Description |
---|---|
FloatParameter |
maxLuminance
Maximum average luminance to consider for auto exposure (in EV).
Declaration
public FloatParameter maxLuminance
Field Value
Type | Description |
---|---|
FloatParameter |
minLuminance
Minimum average luminance to consider for auto exposure (in EV).
Declaration
public FloatParameter minLuminance
Field Value
Type | Description |
---|---|
FloatParameter |
speedDown
The adaptation speed from a light to a dark environment.
Declaration
public FloatParameter speedDown
Field Value
Type | Description |
---|---|
FloatParameter |
speedUp
The adaptation speed from a dark to a light environment.
Declaration
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 |
|