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

    Class Vector3Parameter

    A VolumeParameter that holds a Vector3 value.

    Inheritance
    Object
    VolumeParameter
    VolumeParameter<Vector3>
    Vector3Parameter
    Inherited Members
    VolumeParameter<Vector3>.m_Value
    VolumeParameter<Vector3>.value
    VolumeParameter<Vector3>.Override(Vector3)
    VolumeParameter<Vector3>.SetValue(VolumeParameter)
    VolumeParameter<Vector3>.GetHashCode()
    VolumeParameter<Vector3>.ToString()
    VolumeParameter<Vector3>.Equals(VolumeParameter<Vector3>)
    VolumeParameter<Vector3>.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 Vector3Parameter : VolumeParameter<Vector3>, IEquatable<VolumeParameter<Vector3>>

    Constructors

    Vector3Parameter(Vector3, Boolean)

    Creates a new Vector3Parameter instance.

    Declaration
    public Vector3Parameter(Vector3 value, bool overrideState = false)
    Parameters
    Type Name Description
    Vector3 value

    The initial value to store in the parameter.

    Boolean overrideState

    The initial override state for the parameter.

    Methods

    Interp(Vector3, Vector3, Single)

    Interpolates between two Vector3 values.

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

    The start value.

    Vector3 to

    The end value.

    Single t

    The interpolation factor in range [0,1].

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

    See Also

    NoInterpVector3Parameter
    In This Article
    • Constructors
      • Vector3Parameter(Vector3, Boolean)
    • Methods
      • Interp(Vector3, Vector3, 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