docs.unity3d.com
    Show / Hide Table of Contents

    Class ColorCurves

    A volume component that holds settings for the Color Adjustments effect.

    Inheritance
    Object
    VolumeComponent
    ColorCurves
    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/Color Curves", new Type[]{typeof(HDRenderPipeline)})]
    public sealed class ColorCurves : VolumeComponent, IPostProcessComponent

    Fields

    blue

    Affects the blue channel intensity across the whole image.

    Declaration
    public TextureCurveParameter blue
    Field Value
    Type Description
    TextureCurveParameter

    green

    Affects the green channel intensity across the whole image.

    Declaration
    public TextureCurveParameter green
    Field Value
    Type Description
    TextureCurveParameter

    hueVsHue

    Shifts the input hue (x-axis) according to the output hue (y-axis).

    Declaration
    public TextureCurveParameter hueVsHue
    Field Value
    Type Description
    TextureCurveParameter

    hueVsSat

    Adjusts saturation (y-axis) according to the input hue (x-axis).

    Declaration
    public TextureCurveParameter hueVsSat
    Field Value
    Type Description
    TextureCurveParameter

    lumVsSat

    Adjusts saturation (y-axis) according to the input luminance (x-axis).

    Declaration
    public TextureCurveParameter lumVsSat
    Field Value
    Type Description
    TextureCurveParameter

    master

    Affects the luminance across the whole image.

    Declaration
    public TextureCurveParameter master
    Field Value
    Type Description
    TextureCurveParameter

    red

    Affects the red channel intensity across the whole image.

    Declaration
    public TextureCurveParameter red
    Field Value
    Type Description
    TextureCurveParameter

    satVsSat

    Adjusts saturation (y-axis) according to the input saturation (x-axis).

    Declaration
    public TextureCurveParameter satVsSat
    Field Value
    Type Description
    TextureCurveParameter

    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