Class MaxIntParameter | Core RP Library | 7.2.1
docs.unity3d.com
    Show / Hide Table of Contents

    Class MaxIntParameter

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

    Inheritance
    Object
    VolumeParameter
    VolumeParameter<Int32>
    IntParameter
    MaxIntParameter
    Inherited Members
    IntParameter.Interp(Int32, Int32, Single)
    VolumeParameter<Int32>.m_Value
    VolumeParameter<Int32>.Override(Int32)
    VolumeParameter<Int32>.SetValue(VolumeParameter)
    VolumeParameter<Int32>.GetHashCode()
    VolumeParameter<Int32>.ToString()
    VolumeParameter<Int32>.Equals(VolumeParameter<Int32>)
    VolumeParameter<Int32>.Equals(Object)
    VolumeParameter.k_DebuggerDisplay
    VolumeParameter.m_OverrideState
    VolumeParameter.overrideState
    VolumeParameter.GetValue<T>()
    VolumeParameter.OnEnable()
    VolumeParameter.OnDisable()
    VolumeParameter.IsObjectParameter(Type)
    Namespace: UnityEngine.Rendering
    Syntax
    [Serializable]
    public class MaxIntParameter : IntParameter, IEquatable<VolumeParameter<int>>

    Constructors

    MaxIntParameter(Int32, Int32, Boolean)

    Creates a new MaxIntParameter instance.

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

    The initial value to store in the parameter.

    Int32 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
    public int max
    Field Value
    Type Description
    Int32

    Properties

    value

    The value that this parameter stores.

    Declaration
    public override int value { get; set; }
    Property Value
    Type Description
    Int32
    Overrides
    UnityEngine.Rendering.VolumeParameter<System.Int32>.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
    In This Article
    • Constructors
      • MaxIntParameter(Int32, Int32, Boolean)
    • Fields
      • max
    • Properties
      • value
    • See Also
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023