docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class MaxIntParameter

    A VolumeParameter that holds an int value clamped to a maximum value.

    Inheritance
    object
    VolumeParameter
    VolumeParameter<int>
    IntParameter
    MaxIntParameter
    Implements
    ICloneable
    IEquatable<VolumeParameter<int>>
    Inherited Members
    IntParameter.Interp(int, int, float)
    VolumeParameter<int>.m_Value
    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 MaxIntParameter : IntParameter, ICloneable, IEquatable<VolumeParameter<int>>

    Constructors

    MaxIntParameter(int, int, bool)

    Creates a new MaxIntParameter instance.

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

    The initial value to store in the parameter.

    int max

    The maximum value to clamp the parameter to.

    bool overrideState

    The initial override state for the parameter.

    See Also
    IntParameter
    MinIntParameter
    ClampedIntParameter
    NoInterpIntParameter
    NoInterpMinIntParameter
    NoInterpMaxIntParameter
    NoInterpClampedIntParameter

    Fields

    max

    The maximum value to clamp this parameter to.

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

    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
    ClampedIntParameter
    NoInterpIntParameter
    NoInterpMinIntParameter
    NoInterpMaxIntParameter
    NoInterpClampedIntParameter

    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
    ClampedIntParameter
    NoInterpIntParameter
    NoInterpMinIntParameter
    NoInterpMaxIntParameter
    NoInterpClampedIntParameter
    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)