docs.unity3d.com
    Show / Hide Table of Contents

    Class ShadowsMidtonesHighlights

    A volume component that holds settings for the Shadows, Midtones, Highlights effect.

    Inheritance
    Object
    VolumeComponent
    ShadowsMidtonesHighlights
    Inherited Members
    VolumeComponent.active
    VolumeComponent.OnEnable()
    VolumeComponent.OnDisable()
    VolumeComponent.Override(VolumeComponent, Single)
    VolumeComponent.SetAllOverridesTo(Boolean)
    VolumeComponent.GetHashCode()
    VolumeComponent.AnyPropertiesIsOverridden()
    VolumeComponent.OnDestroy()
    VolumeComponent.Release()
    VolumeComponent.displayName
    VolumeComponent.parameters
    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

    true if the effect should be rendered, false otherwise.

    Implements
    IPostProcessComponent.IsActive()
    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023