docs.unity.cn
    Show / Hide Table of Contents

    Class SplitToning

    A volume component that holds settings for the Split Toning effect.

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

    Fields

    balance

    Controls the balance between the colors in the highlights and shadows.

    Declaration
    public ClampedFloatParameter balance
    Field Value
    Type Description
    ClampedFloatParameter

    highlights

    Specifies the color to use for highlights.

    Declaration
    public ColorParameter highlights
    Field Value
    Type Description
    ColorParameter

    shadows

    Specifies the color to use for shadows.

    Declaration
    public ColorParameter shadows
    Field Value
    Type Description
    ColorParameter

    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 Thursday, July 8, 2021