Class ColorAdjustments
A volume component that holds settings for the Color Adjustments effect.
Inherited Members
Namespace: UnityEngine.Rendering.HighDefinition
Syntax
[Serializable]
[VolumeComponentMenuForRenderPipeline("Post-processing/Color Adjustments", new Type[]{typeof(HDRenderPipeline)})]
public sealed class ColorAdjustments : VolumeComponent, IPostProcessComponent
Fields
colorFilter
Specifies the color that HDRP tints the render to.
Declaration
[Tooltip("Specifies the color that HDRP tints the render to.")]
public ColorParameter colorFilter
Field Value
Type | Description |
---|---|
ColorParameter |
contrast
Controls the overall range of the tonal values.
Declaration
[Tooltip("Controls the overall range of the tonal values.")]
public ClampedFloatParameter contrast
Field Value
Type | Description |
---|---|
ClampedFloatParameter |
hueShift
Controls the hue of all colors in the render.
Declaration
[Tooltip("Controls the hue of all colors in the render.")]
public ClampedFloatParameter hueShift
Field Value
Type | Description |
---|---|
ClampedFloatParameter |
postExposure
Adjusts the brightness of the image just before color grading, in EV.
Declaration
[Tooltip("Adjusts the brightness of the image just before color grading, in EV.")]
public FloatParameter postExposure
Field Value
Type | Description |
---|---|
FloatParameter |
saturation
Controls the intensity of all colors in the render.
Declaration
[Tooltip("Controls the intensity of all colors in the render.")]
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 |
|