docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class NoInterpFloatRangeParameter

    A VolumeParameter that holds a non-interpolating Vector2 value holding a range of two float values clamped between a minimum and a maximum value.

    Inheritance
    object
    VolumeParameter
    VolumeParameter<Vector2>
    NoInterpFloatRangeParameter
    Implements
    ICloneable
    IEquatable<VolumeParameter<Vector2>>
    Inherited Members
    VolumeParameter<Vector2>.m_Value
    VolumeParameter<Vector2>.Interp(Vector2, Vector2, float)
    VolumeParameter<Vector2>.Override(Vector2)
    VolumeParameter<Vector2>.SetValue(VolumeParameter)
    VolumeParameter<Vector2>.GetHashCode()
    VolumeParameter<Vector2>.ToString()
    VolumeParameter<Vector2>.Equals(VolumeParameter<Vector2>)
    VolumeParameter<Vector2>.Equals(object)
    VolumeParameter<Vector2>.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 NoInterpFloatRangeParameter : VolumeParameter<Vector2>, ICloneable, IEquatable<VolumeParameter<Vector2>>

    Constructors

    NoInterpFloatRangeParameter(Vector2, float, float, bool)

    Creates a new NoInterpFloatRangeParameter instance.

    Declaration
    public NoInterpFloatRangeParameter(Vector2 value, float min, float max, bool overrideState = false)
    Parameters
    Type Name Description
    Vector2 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
    NoInterpClampedFloatParameter

    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
    NoInterpClampedFloatParameter

    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
    NoInterpClampedFloatParameter

    Properties

    value

    The value that this parameter stores.

    Declaration
    public override Vector2 value { get; set; }
    Property Value
    Type Description
    Vector2
    Overrides
    VolumeParameter<Vector2>.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
    NoInterpClampedFloatParameter

    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
    NoInterpClampedFloatParameter
    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)