docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class BufferedLinearInterpolatorVector3

    Inheritance
    object
    BufferedLinearInterpolator<Vector3>
    BufferedLinearInterpolatorVector3
    Inherited Members
    BufferedLinearInterpolator<Vector3>.MaximumInterpolationTime
    BufferedLinearInterpolator<Vector3>.m_InterpStartValue
    BufferedLinearInterpolator<Vector3>.m_CurrentInterpValue
    BufferedLinearInterpolator<Vector3>.m_InterpEndValue
    BufferedLinearInterpolator<Vector3>.m_Buffer
    BufferedLinearInterpolator<Vector3>.Clear()
    BufferedLinearInterpolator<Vector3>.ResetTo(Vector3, double)
    BufferedLinearInterpolator<Vector3>.Update(float, NetworkTime)
    BufferedLinearInterpolator<Vector3>.Update(float, double, double)
    BufferedLinearInterpolator<Vector3>.AddMeasurement(Vector3, double)
    BufferedLinearInterpolator<Vector3>.GetInterpolatedValue()
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.Netcode
    Assembly: Unity.Netcode.Runtime.dll
    Syntax
    public class BufferedLinearInterpolatorVector3 : BufferedLinearInterpolator<Vector3>

    Fields

    IsSlerp

    Use Slerp(Vector3, Vector3, float) when true. Use Lerp(Vector3, Vector3, float) when false

    Declaration
    public bool IsSlerp
    Field Value
    Type Description
    bool

    Methods

    Interpolate(Vector3, Vector3, float)

    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

    The start value (min)

    Vector3 end

    The end value (max)

    float time

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

    Returns
    Type Description
    Vector3

    The interpolated value

    Overrides
    BufferedLinearInterpolator<Vector3>.Interpolate(Vector3, Vector3, float)

    InterpolateUnclamped(Vector3, Vector3, float)

    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

    The start value (min)

    Vector3 end

    The end value (max)

    float time

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

    Returns
    Type Description
    Vector3

    The interpolated value

    Overrides
    BufferedLinearInterpolator<Vector3>.InterpolateUnclamped(Vector3, Vector3, float)

    OnConvertTransformSpace(Transform, bool)

    Declaration
    protected override void OnConvertTransformSpace(Transform transform, bool inLocalSpace)
    Parameters
    Type Name Description
    Transform transform
    bool inLocalSpace
    Overrides
    BufferedLinearInterpolator<Vector3>.OnConvertTransformSpace(Transform, bool)
    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)