docs.unity.cn
    Show / Hide Table of Contents

    Class NoInterpClampedFloatParameter

    A VolumeParameter that holds a non-interpolating float value clamped between a minimum and a maximum value.

    Inheritance
    Object
    VolumeParameter
    VolumeParameter<Single>
    NoInterpClampedFloatParameter
    Inherited Members
    VolumeParameter<Single>.m_Value
    VolumeParameter<Single>.Interp(Single, Single, Single)
    VolumeParameter<Single>.Override(Single)
    VolumeParameter<Single>.SetValue(VolumeParameter)
    VolumeParameter<Single>.GetHashCode()
    VolumeParameter<Single>.ToString()
    VolumeParameter<Single>.Equals(VolumeParameter<Single>)
    VolumeParameter<Single>.Equals(Object)
    VolumeParameter<Single>.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 NoInterpClampedFloatParameter : VolumeParameter<float>, ICloneable, IEquatable<VolumeParameter<float>>

    Constructors

    NoInterpClampedFloatParameter(Single, Single, Single, Boolean)

    Creates a new NoInterpClampedFloatParameter instance.

    Declaration
    public NoInterpClampedFloatParameter(float value, float min, float max, bool overrideState = false)
    Parameters
    Type Name Description
    Single value

    The initial value to store in the parameter.

    Single min

    The minimum value to clamp the parameter to

    Single max

    The maximum value to clamp the parameter to.

    Boolean overrideState

    The initial override state for the parameter.

    Fields

    max

    The maximum value to clamp this parameter to.

    Declaration
    [NonSerialized]
    public float max
    Field Value
    Type Description
    Single

    min

    The minimum value to clamp this parameter to.

    Declaration
    [NonSerialized]
    public float min
    Field Value
    Type Description
    Single

    Properties

    value

    The value that this parameter stores.

    Declaration
    public override float value { get; set; }
    Property Value
    Type Description
    Single
    Overrides
    UnityEngine.Rendering.VolumeParameter<System.Single>.value
    Remarks

    You can override this property to define custom behaviors when the value is changed.

    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

    FloatParameter
    MinFloatParameter
    MaxFloatParameter
    ClampedFloatParameter
    FloatRangeParameter
    NoInterpFloatParameter
    NoInterpMinFloatParameter
    NoInterpMaxFloatParameter
    NoInterpFloatRangeParameter
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on 21 July 2023