Class ColorAdjustments
A volume component that holds settings for the Color Adjustments effect.
Namespace: UnityEngine.Rendering.HighDefinition
Syntax
public sealed class ColorAdjustments : VolumeComponent, IPostProcessComponent
Fields
colorFilter
Specifies the color that HDRP tints the render to.
Declaration
public ColorParameter colorFilter
Field Value
Type | Description |
---|---|
ColorParameter |
contrast
Controls the overall range of the tonal values.
Declaration
public ClampedFloatParameter contrast
Field Value
Type | Description |
---|---|
ClampedFloatParameter |
hueShift
Controls the hue of all colors in the render.
Declaration
public ClampedFloatParameter hueShift
Field Value
Type | Description |
---|---|
ClampedFloatParameter |
postExposure
Adjusts the brightness of the image just before color grading, in EV.
Declaration
public FloatParameter postExposure
Field Value
Type | Description |
---|---|
FloatParameter |
saturation
Controls the intensity of all colors in the render.
Declaration
public ClampedFloatParameter saturation
Field Value
Type | Description |
---|---|
ClampedFloatParameter |
Methods
IsActive()
Tells if the effect needs to be rendered or not.
Declaration
public bool IsActive()
Returns
Type | Description |
---|---|
Boolean |
|