docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class NoInterpClampedIntParameter

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

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

    Constructors

    NoInterpClampedIntParameter(int, int, int, bool)

    Creates a new NoInterpClampedIntParameter instance.

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

    The initial value to store in the parameter.

    int min

    The minimum value to clamp the parameter to

    int max

    The maximum value to clamp the parameter to.

    bool overrideState

    The initial override state for the parameter.

    See Also
    IntParameter
    MinIntParameter
    MaxIntParameter
    ClampedIntParameter
    NoInterpIntParameter
    NoInterpMinIntParameter
    NoInterpMaxIntParameter

    Fields

    max

    The maximum value to clamp this parameter to.

    Declaration
    [NonSerialized]
    public int max
    Field Value
    Type Description
    int
    See Also
    IntParameter
    MinIntParameter
    MaxIntParameter
    ClampedIntParameter
    NoInterpIntParameter
    NoInterpMinIntParameter
    NoInterpMaxIntParameter

    min

    The minimum value to clamp this parameter to.

    Declaration
    [NonSerialized]
    public int min
    Field Value
    Type Description
    int
    See Also
    IntParameter
    MinIntParameter
    MaxIntParameter
    ClampedIntParameter
    NoInterpIntParameter
    NoInterpMinIntParameter
    NoInterpMaxIntParameter

    Properties

    value

    The value that this parameter stores.

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

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

    See Also
    IntParameter
    MinIntParameter
    MaxIntParameter
    ClampedIntParameter
    NoInterpIntParameter
    NoInterpMinIntParameter
    NoInterpMaxIntParameter

    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

    IntParameter
    MinIntParameter
    MaxIntParameter
    ClampedIntParameter
    NoInterpIntParameter
    NoInterpMinIntParameter
    NoInterpMaxIntParameter
    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)