docs.unity3d.com
Search Results for

    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<float>
    NoInterpClampedFloatParameter
    Implements
    ICloneable
    IEquatable<VolumeParameter<float>>
    Inherited Members
    VolumeParameter<float>.m_Value
    VolumeParameter<float>.Interp(float, float, float)
    VolumeParameter<float>.Override(float)
    VolumeParameter<float>.SetValue(VolumeParameter)
    VolumeParameter<float>.GetHashCode()
    VolumeParameter<float>.ToString()
    VolumeParameter<float>.Equals(VolumeParameter<float>)
    VolumeParameter<float>.Equals(object)
    VolumeParameter<float>.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.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: UnityEngine.Rendering
    Assembly: Unity.RenderPipelines.Core.Runtime.dll
    Syntax
    [Serializable]
    public class NoInterpClampedFloatParameter : VolumeParameter<float>, ICloneable, IEquatable<VolumeParameter<float>>

    Constructors

    NoInterpClampedFloatParameter(float, float, float, bool)

    Creates a new NoInterpClampedFloatParameter instance.

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

    The initial value to store in the parameter.

    float min

    The minimum value to clamp the parameter to

    float max

    The maximum value to clamp the parameter to.

    bool overrideState

    The initial override state for the parameter.

    See Also
    FloatParameter
    MinFloatParameter
    MaxFloatParameter
    ClampedFloatParameter
    FloatRangeParameter
    NoInterpFloatParameter
    NoInterpMinFloatParameter
    NoInterpMaxFloatParameter
    NoInterpFloatRangeParameter

    Fields

    max

    The maximum value to clamp this parameter to.

    Declaration
    [NonSerialized]
    public float max
    Field Value
    Type Description
    float
    See Also
    FloatParameter
    MinFloatParameter
    MaxFloatParameter
    ClampedFloatParameter
    FloatRangeParameter
    NoInterpFloatParameter
    NoInterpMinFloatParameter
    NoInterpMaxFloatParameter
    NoInterpFloatRangeParameter

    min

    The minimum value to clamp this parameter to.

    Declaration
    [NonSerialized]
    public float min
    Field Value
    Type Description
    float
    See Also
    FloatParameter
    MinFloatParameter
    MaxFloatParameter
    ClampedFloatParameter
    FloatRangeParameter
    NoInterpFloatParameter
    NoInterpMinFloatParameter
    NoInterpMaxFloatParameter
    NoInterpFloatRangeParameter

    Properties

    value

    The value that this parameter stores.

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

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

    See Also
    FloatParameter
    MinFloatParameter
    MaxFloatParameter
    ClampedFloatParameter
    FloatRangeParameter
    NoInterpFloatParameter
    NoInterpMinFloatParameter
    NoInterpMaxFloatParameter
    NoInterpFloatRangeParameter

    Implements

    ICloneable
    IEquatable<T>

    Extension Methods

    ReflectionUtils.GetField(object, string)
    ReflectionUtils.GetFields(object)
    ReflectionUtils.Invoke(object, string, params object[])
    ReflectionUtils.SetField(object, string, object)
    AnalyticsUtils.ToNestedColumnWithDefault<T>(T, T, bool)
    AnalyticsUtils.ToNestedColumn<T>(T, T)

    See Also

    FloatParameter
    MinFloatParameter
    MaxFloatParameter
    ClampedFloatParameter
    FloatRangeParameter
    NoInterpFloatParameter
    NoInterpMinFloatParameter
    NoInterpMaxFloatParameter
    NoInterpFloatRangeParameter
    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)