docs.unity3d.com
    显示 / 隐藏目录

    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]
    [VolumeComponentMenu("Post-processing/Color Curves")]
    [HelpURL("https://docs.unity3d.com/Packages/com.unity.render-pipelines.high-definition@10.10/manual/Post-Processing-Color-Curves.html")]
    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()
    返回到顶部
    Copyright © 2023 Unity Technologies — 商标和使用条款
    • 法律条款
    • 隐私政策
    • Cookie
    • 不要出售或分享我的个人信息
    • Your Privacy Choices (Cookie Settings)