docs.unity.cn
    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.OnDestroy()
    VolumeComponent.Release()
    VolumeComponent.displayName
    VolumeComponent.parameters
    Namespace: UnityEngine.Rendering.HighDefinition
    Syntax
    [Serializable]
    [VolumeComponentMenu("Post-processing/Shadows, Midtones, Highlights")]
    [HelpURL("https://docs.unity.cn/Packages/com.unity.render-pipelines.high-definition@11.0/manual/Post-Processing-Shadows-Midtones-Highlights.html")]
    public sealed class ShadowsMidtonesHighlights : VolumeComponent, IPostProcessComponent

    Fields

    highlights

    Controls the lightest portions of the render.

    Declaration
    [Tooltip("Controls the lightest portions of the render.")]
    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
    [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("Controls the power function that handles mid-range tones.")]
    public Vector4Parameter midtones
    Field Value
    Type Description
    Vector4Parameter

    shadows

    Controls the darkest portions of the render.

    Declaration
    [Tooltip("Controls the darkest portions of the render.")]
    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
    [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 Copyright © 2020 Unity Technologies
    Generated by DocFX
    on 18 October 2021