docs.unity3d.com
    Show / Hide Table of Contents

    Class BufferedLinearInterpolatorVector3

    Inheritance
    Object
    BufferedLinearInterpolator<Vector3>
    BufferedLinearInterpolatorVector3
    Inherited Members
    BufferedLinearInterpolator<Vector3>.MaximumInterpolationTime
    BufferedLinearInterpolator<Vector3>.Clear()
    BufferedLinearInterpolator<Vector3>.ResetTo(Vector3, Double)
    BufferedLinearInterpolator<Vector3>.Update(Single, NetworkTime)
    BufferedLinearInterpolator<Vector3>.Update(Single, Double, Double)
    BufferedLinearInterpolator<Vector3>.AddMeasurement(Vector3, Double)
    BufferedLinearInterpolator<Vector3>.GetInterpolatedValue()
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Unity.Netcode
    Syntax
    public class BufferedLinearInterpolatorVector3 : BufferedLinearInterpolator<Vector3>

    Fields

    IsSlerp

    Use Slerp when . Use Lerp when

    Declaration
    public bool IsSlerp
    Field Value
    Type Description
    Boolean

    Methods

    Interpolate(Vector3, Vector3, Single)

    Method to override and adapted to the generic type. This assumes interpolation for that value will be clamped.

    Declaration
    protected override Vector3 Interpolate(Vector3 start, Vector3 end, float time)
    Parameters
    Type Name Description
    Vector3 start
    Vector3 end
    Single time

    The time value used to interpolate between start and end values (pos)

    Returns
    Type Description
    Vector3

    The interpolated value

    Overrides
    Unity.Netcode.BufferedLinearInterpolator<UnityEngine.Vector3>.Interpolate(UnityEngine.Vector3, UnityEngine.Vector3, System.Single)

    InterpolateUnclamped(Vector3, Vector3, Single)

    Method to override and adapted to the generic type. This assumes interpolation for that value will not be clamped.

    Declaration
    protected override Vector3 InterpolateUnclamped(Vector3 start, Vector3 end, float time)
    Parameters
    Type Name Description
    Vector3 start
    Vector3 end
    Single time

    The time value used to interpolate between start and end values (pos)

    Returns
    Type Description
    Vector3

    The interpolated value

    Overrides
    Unity.Netcode.BufferedLinearInterpolator<UnityEngine.Vector3>.InterpolateUnclamped(UnityEngine.Vector3, UnityEngine.Vector3, System.Single)
    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