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

    Class IntParameter

    A VolumeParameter that holds an int value.

    Inheritance
    Object
    VolumeParameter
    VolumeParameter<Int32>
    IntParameter
    ClampedIntParameter
    MaxIntParameter
    MinIntParameter
    Inherited Members
    VolumeParameter<Int32>.m_Value
    VolumeParameter<Int32>.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 IntParameter : VolumeParameter<int>, IEquatable<VolumeParameter<int>>

    Constructors

    IntParameter(Int32, Boolean)

    Creates a new IntParameter instance.

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

    The initial value to store in the parameter.

    Boolean overrideState

    The initial override state for the parameter.

    Methods

    Interp(Int32, Int32, Single)

    Interpolates between two int values.

    Declaration
    public override sealed void Interp(int from, int to, float t)
    Parameters
    Type Name Description
    Int32 from

    The start value

    Int32 to

    The end value

    Single t

    The interpolation factor in range [0,1]

    Overrides
    UnityEngine.Rendering.VolumeParameter<System.Int32>.Interp(System.Int32, System.Int32, System.Single)

    See Also

    MinIntParameter
    MaxIntParameter
    ClampedIntParameter
    NoInterpIntParameter
    NoInterpMinIntParameter
    NoInterpMaxIntParameter
    NoInterpClampedIntParameter
    In This Article
    • Constructors
      • IntParameter(Int32, Boolean)
    • Methods
      • Interp(Int32, Int32, Single)
    • 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