docs.unity3d.com
    Show / Hide Table of Contents

    Class Vector4Parameter

    A VolumeParameter that holds a Vector4 value.

    Inheritance
    Object
    VolumeParameter
    VolumeParameter<Vector4>
    Vector4Parameter
    Inherited Members
    VolumeParameter<Vector4>.m_Value
    VolumeParameter<Vector4>.value
    VolumeParameter<Vector4>.Override(Vector4)
    VolumeParameter<Vector4>.SetValue(VolumeParameter)
    VolumeParameter<Vector4>.GetHashCode()
    VolumeParameter<Vector4>.ToString()
    VolumeParameter<Vector4>.Equals(VolumeParameter<Vector4>)
    VolumeParameter<Vector4>.Equals(Object)
    VolumeParameter.k_DebuggerDisplay
    VolumeParameter.m_OverrideState
    VolumeParameter.overrideState
    VolumeParameter.GetValue<T>()
    VolumeParameter.OnEnable()
    VolumeParameter.OnDisable()
    VolumeParameter.IsObjectParameter(Type)
    VolumeParameter.Release()
    Namespace: UnityEngine.Rendering
    Syntax
    [Serializable]
    public class Vector4Parameter : VolumeParameter<Vector4>, IEquatable<VolumeParameter<Vector4>>

    Constructors

    Vector4Parameter(Vector4, Boolean)

    Creates a new Vector4Parameter instance.

    Declaration
    public Vector4Parameter(Vector4 value, bool overrideState = false)
    Parameters
    Type Name Description
    Vector4 value

    The initial value to store in the parameter.

    Boolean overrideState

    The initial override state for the parameter.

    Methods

    Interp(Vector4, Vector4, Single)

    Interpolates between two Vector4 values.

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

    The start value.

    Vector4 to

    The end value.

    Single t

    The interpolation factor in range [0,1].

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

    Extension Methods

    ReflectionUtils.Invoke(Object, String, Object[])
    ReflectionUtils.SetField(Object, String, Object)
    ReflectionUtils.GetField(Object, String)
    ReflectionUtils.GetFields(Object)

    See Also

    NoInterpVector4Parameter
    Back to top
    Terms of use
    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