docs.unity.cn
    Show / Hide Table of Contents

    Class ShadowsMidtonesHighlights

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

    Inheritance
    Object
    UnityEngine.Rendering.VolumeComponent
    ShadowsMidtonesHighlights
    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.AnyPropertiesIsOverridden()
    UnityEngine.Rendering.VolumeComponent.OnDestroy()
    UnityEngine.Rendering.VolumeComponent.Release()
    UnityEngine.Rendering.VolumeComponent.TryGetRevertMethodForFieldName(UnityEditor.SerializedProperty, System.Action<UnityEditor.SerializedProperty>)
    UnityEngine.Rendering.VolumeComponent.GetSourceTerm()
    UnityEngine.Rendering.VolumeComponent.TryGetApplyMethodForFieldName(UnityEditor.SerializedProperty, System.Action<UnityEditor.SerializedProperty>)
    UnityEngine.Rendering.VolumeComponent.GetSourceName(UnityEngine.Component)
    UnityEngine.Rendering.VolumeComponent.displayName
    UnityEngine.Rendering.VolumeComponent.parameters
    Namespace: UnityEngine.Rendering.HighDefinition
    Syntax
    [Serializable]
    [VolumeComponentMenuForRenderPipeline("Post-processing/Shadows, Midtones, Highlights", new Type[]{typeof(HDRenderPipeline)})]
    public sealed class ShadowsMidtonesHighlights : VolumeComponent, IApplyRevertPropertyContextMenuItemProvider, 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
    UnityEngine.Rendering.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
    UnityEngine.Rendering.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
    UnityEngine.Rendering.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
    UnityEngine.Rendering.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
    UnityEngine.Rendering.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
    UnityEngine.Rendering.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
    UnityEngine.Rendering.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 © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on 22 August 2023