docs.unity3d.com
    Show / Hide Table of Contents

    Class ShadowsMidtonesHighlights

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

    Inheritance
    Object
    ShadowsMidtonesHighlights
    Namespace: UnityEngine.Rendering.HighDefinition
    Syntax
    public sealed class ShadowsMidtonesHighlights : VolumeComponent, IPostProcessComponent

    Fields

    highlights

    Controls the lightest portions of the render.

    Declaration
    public Vector4Parameter highlights
    Field Value
    Type Description
    Vector4Parameter

    highlightsEnd

    Sets the end point of the transition between midtones and highlights.

    Declaration
    public MinFloatParameter highlightsEnd
    Field Value
    Type Description
    MinFloatParameter

    highlightsStart

    Sets the start point of the transition between midtones and highlights.

    Declaration
    public MinFloatParameter highlightsStart
    Field Value
    Type Description
    MinFloatParameter

    midtones

    Controls the power function that handles mid-range tones.

    Declaration
    public Vector4Parameter midtones
    Field Value
    Type Description
    Vector4Parameter

    shadows

    Controls the darkest portions of the render.

    Declaration
    public Vector4Parameter shadows
    Field Value
    Type Description
    Vector4Parameter

    shadowsEnd

    Sets the end point of the transition between shadows and midtones.

    Declaration
    public MinFloatParameter shadowsEnd
    Field Value
    Type Description
    MinFloatParameter

    shadowsStart

    Sets the start point of the transition between shadows and midtones.

    Declaration
    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 © 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