Class ShadowsMidtonesHighlights
A volume component that holds settings for the Shadows, Midtones, Highlights effect.
Inherited Members
Namespace: UnityEngine.Rendering.HighDefinition
Syntax
[Serializable]
[VolumeComponentMenuForRenderPipeline("Post-processing/Shadows, Midtones, Highlights", new Type[]{typeof(HDRenderPipeline)})]
public sealed class ShadowsMidtonesHighlights : VolumeComponent, IPostProcessComponent
Fields
highlights
Controls the lightest portions of the render.
Declaration
[Tooltip("Use this to control and apply a hue to the highlights.")]
public Vector4Parameter highlights
Field Value
Type | Description |
---|---|
Vector4Parameter |
highlightsEnd
Sets the end point of the transition between midtones and highlights.
Declaration
[Tooltip("Sets the end point of the transition between midtones and highlights.")]
public MinFloatParameter highlightsEnd
Field Value
Type | Description |
---|---|
MinFloatParameter |
highlightsStart
Sets the start point of the transition between midtones and highlights.
Declaration
[Header("Highlight Limits")]
[Tooltip("Sets the start point of the transition between midtones and highlights.")]
public MinFloatParameter highlightsStart
Field Value
Type | Description |
---|---|
MinFloatParameter |
midtones
Controls the power function that handles mid-range tones.
Declaration
[Tooltip("Use this to control and apply a hue to the midtones.")]
public Vector4Parameter midtones
Field Value
Type | Description |
---|---|
Vector4Parameter |
shadows
Controls the darkest portions of the render.
Declaration
[Tooltip("Use this to control and apply a hue to the shadows.")]
public Vector4Parameter shadows
Field Value
Type | Description |
---|---|
Vector4Parameter |
shadowsEnd
Sets the end point of the transition between shadows and midtones.
Declaration
[Tooltip("Sets the end point of the transition between shadows and midtones.")]
public MinFloatParameter shadowsEnd
Field Value
Type | Description |
---|---|
MinFloatParameter |
shadowsStart
Sets the start point of the transition between shadows and midtones.
Declaration
[Header("Shadow Limits")]
[Tooltip("Sets the start point of the transition between shadows and midtones.")]
public MinFloatParameter shadowsStart
Field Value
Type | Description |
---|---|
MinFloatParameter |
Methods
IsActive()
Tells if the effect needs to be rendered or not.
Declaration
public bool IsActive()
Returns
Type | Description |
---|---|
Boolean |
|