Class ColorAdjustments
A volume component that holds settings for the Color Adjustments effect.
Inherited Members
UnityEngine.Rendering.VolumeComponent.active
UnityEngine.Rendering.VolumeComponent.OnEnable()
UnityEngine.Rendering.VolumeComponent.OnDisable()
UnityEngine.Rendering.VolumeComponent.Override(UnityEngine.Rendering.VolumeComponent, System.Single)
UnityEngine.Rendering.VolumeComponent.SetAllOverridesTo(System.Boolean)
UnityEngine.Rendering.VolumeComponent.GetHashCode()
UnityEngine.Rendering.VolumeComponent.OnDestroy()
UnityEngine.Rendering.VolumeComponent.Release()
UnityEngine.Rendering.VolumeComponent.displayName
UnityEngine.Rendering.VolumeComponent.parameters
Namespace: UnityEngine.Rendering.HighDefinition
Syntax
[Serializable]
[HelpURL("https://docs.unity3d.com/Packages/com.unity.render-pipelines.high-definition@10.3/manual/Post-Processing-Color-Adjustments.html")]
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 |
---|---|
UnityEngine.Rendering.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 |
---|---|
UnityEngine.Rendering.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 |
---|---|
UnityEngine.Rendering.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 |
---|---|
UnityEngine.Rendering.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 |
---|---|
UnityEngine.Rendering.ClampedFloatParameter |
Methods
IsActive()
Tells if the effect needs to be rendered or not.
Declaration
public bool IsActive()
Returns
Type | Description |
---|---|
Boolean |
|