docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class IntParameter

    A VolumeParameter that holds an int value.

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

    Constructors

    IntParameter(int, bool)

    Creates a new IntParameter instance.

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

    The initial value to store in the parameter.

    bool overrideState

    The initial override state for the parameter.

    See Also
    MinIntParameter
    MaxIntParameter
    ClampedIntParameter
    NoInterpIntParameter
    NoInterpMinIntParameter
    NoInterpMaxIntParameter
    NoInterpClampedIntParameter

    Methods

    Interp(int, int, float)

    Interpolates between two int values.

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

    The start value

    int to

    The end value

    float t

    The interpolation factor in range [0,1]

    Overrides
    VolumeParameter<int>.Interp(int, int, float)
    See Also
    MinIntParameter
    MaxIntParameter
    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

    MinIntParameter
    MaxIntParameter
    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)