Class ColorAdjustments
A volume component that holds settings for the Color Adjustments effect.
Inheritance
object
VolumeComponent
ColorAdjustments
Inherited Members
VolumeComponent.active
VolumeComponent.Override(VolumeComponent, float)
VolumeComponent.SetAllOverridesTo(bool)
VolumeComponent.GetHashCode()
VolumeComponent.AnyPropertiesIsOverridden()
VolumeComponent.Release()
VolumeComponent.TryGetRevertMethodForFieldName(SerializedProperty, out Action<SerializedProperty>)
VolumeComponent.GetSourceTerm()
VolumeComponent.TryGetApplyMethodForFieldName(SerializedProperty, out Action<SerializedProperty>)
VolumeComponent.GetSourceName(Component)
VolumeComponent.displayName
VolumeComponent.parameters
Namespace: UnityEngine.Rendering.Universal
Assembly: solution.dll
Syntax
public sealed class ColorAdjustments : VolumeComponent, IApplyRevertPropertyContextMenuItemProvider, IPostProcessComponent
Fields
colorFilter
Specifies the color that URP 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 overall exposure of the scene in EV100. This is applied after HDR effect and right before tonemapping so it won't affect previous effects in the chain.
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 post process needs to be rendered or not.
Declaration
public bool IsActive()
Returns
Type | Description |
---|---|
bool | True if the component is active, otherwise false. |
IsTileCompatible()
Tells if the post process can run the effect on-tile or if it needs a full pass.
Declaration
public bool IsTileCompatible()
Returns
Type | Description |
---|---|
bool | True if it can run on-tile, otherwise false. |