docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class Vector2Parameter

    A VolumeParameter that holds a Vector2 value.

    Inheritance
    object
    VolumeParameter
    VolumeParameter<Vector2>
    Vector2Parameter
    Implements
    ICloneable
    IEquatable<VolumeParameter<Vector2>>
    Inherited Members
    VolumeParameter<Vector2>.m_Value
    VolumeParameter<Vector2>.value
    VolumeParameter<Vector2>.Override(Vector2)
    VolumeParameter<Vector2>.SetValue(VolumeParameter)
    VolumeParameter<Vector2>.GetHashCode()
    VolumeParameter<Vector2>.ToString()
    VolumeParameter<Vector2>.Equals(VolumeParameter<Vector2>)
    VolumeParameter<Vector2>.Equals(object)
    VolumeParameter<Vector2>.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 Vector2Parameter : VolumeParameter<Vector2>, ICloneable, IEquatable<VolumeParameter<Vector2>>

    Constructors

    Vector2Parameter(Vector2, bool)

    Creates a new Vector2Parameter instance.

    Declaration
    public Vector2Parameter(Vector2 value, bool overrideState = false)
    Parameters
    Type Name Description
    Vector2 value

    The initial value to store in the parameter.

    bool overrideState

    The initial override state for the parameter.

    See Also
    NoInterpVector2Parameter

    Methods

    Interp(Vector2, Vector2, float)

    Interpolates between two Vector2 values.

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

    The start value.

    Vector2 to

    The end value.

    float t

    The interpolation factor in range [0,1].

    Overrides
    VolumeParameter<Vector2>.Interp(Vector2, Vector2, float)
    See Also
    NoInterpVector2Parameter

    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

    NoInterpVector2Parameter
    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)