docs.unity.cn
    Show / Hide Table of Contents

    Class NoInterpColorParameter

    A VolumeParameter that holds a non-interpolating Color value.

    Inheritance
    Object
    VolumeParameter
    VolumeParameter<Color>
    NoInterpColorParameter
    Inherited Members
    VolumeParameter<Color>.m_Value
    VolumeParameter<Color>.value
    VolumeParameter<Color>.Interp(Color, Color, Single)
    VolumeParameter<Color>.Override(Color)
    VolumeParameter<Color>.SetValue(VolumeParameter)
    VolumeParameter<Color>.GetHashCode()
    VolumeParameter<Color>.ToString()
    VolumeParameter<Color>.Equals(VolumeParameter<Color>)
    VolumeParameter<Color>.Equals(Object)
    VolumeParameter<Color>.Clone()
    VolumeParameter.k_DebuggerDisplay
    VolumeParameter.m_OverrideState
    VolumeParameter.overrideState
    VolumeParameter.GetValue<T>()
    VolumeParameter.OnEnable()
    VolumeParameter.OnDisable()
    VolumeParameter.IsObjectParameter(Type)
    VolumeParameter.Release()
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: UnityEngine.Rendering
    Syntax
    [Serializable]
    public class NoInterpColorParameter : VolumeParameter<Color>, ICloneable, IEquatable<VolumeParameter<Color>>

    Constructors

    NoInterpColorParameter(Color, Boolean)

    Creates a new NoInterpColorParameter instance.

    Declaration
    public NoInterpColorParameter(Color value, bool overrideState = false)
    Parameters
    Type Name Description
    Color value

    The initial value to store in the parameter.

    Boolean overrideState

    The initial override state for the parameter.

    NoInterpColorParameter(Color, Boolean, Boolean, Boolean, Boolean)

    Creates a new NoInterpColorParameter instance.

    Declaration
    public NoInterpColorParameter(Color value, bool hdr, bool showAlpha, bool showEyeDropper, bool overrideState = false)
    Parameters
    Type Name Description
    Color value

    The initial value to store in the parameter.

    Boolean hdr

    Specifies whether the color is HDR or not.

    Boolean showAlpha

    Specifies whether you can edit the alpha channel in the Inspector or not.

    Boolean showEyeDropper

    Specifies whether the eye dropper is visible in the editor or not.

    Boolean overrideState

    The initial override state for the parameter.

    Fields

    hdr

    Specifies whether the color is HDR or not.

    Declaration
    public bool hdr
    Field Value
    Type Description
    Boolean

    showAlpha

    Specifies whether you can edit the alpha channel in the Inspector or not.

    Declaration
    [NonSerialized]
    public bool showAlpha
    Field Value
    Type Description
    Boolean

    showEyeDropper

    Specifies whether the eye dropper is visible in the editor or not.

    Declaration
    [NonSerialized]
    public bool showEyeDropper
    Field Value
    Type Description
    Boolean

    Extension Methods

    AnalyticsUtils.ToNestedColumnWithDefault<T>(T, T, Boolean)
    ReflectionUtils.Invoke(Object, String, Object[])
    ReflectionUtils.SetField(Object, String, Object)
    ReflectionUtils.GetField(Object, String)
    ReflectionUtils.GetFields(Object)

    See Also

    ColorParameter
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on 08 September 2023