docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct BufferedLinearInterpolator<T>.BufferedItem

    Represents a buffered item measurement.

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Unity.Netcode
    Assembly: Unity.Netcode.Runtime.dll
    Syntax
    protected struct BufferedLinearInterpolator<T>.BufferedItem

    Constructors

    BufferedItem(T, double)

    The original constructor.

    Declaration
    public BufferedItem(T item, double timeSent)
    Parameters
    Type Name Description
    T item

    The item value.

    double timeSent

    The time the item was sent.

    BufferedItem(T, double, int)

    Constructor that accepts an item identifier.

    Declaration
    public BufferedItem(T item, double timeSent, int itemId)
    Parameters
    Type Name Description
    T item

    The item value.

    double timeSent

    The time the item was sent.

    int itemId

    The item identifier

    Fields

    Item

    The item value

    Declaration
    public T Item
    Field Value
    Type Description
    T

    ItemId

    THe item identifier

    Declaration
    public int ItemId
    Field Value
    Type Description
    int

    TimeSent

    The time the item was sent.

    Declaration
    public double TimeSent
    Field Value
    Type Description
    double
    In This Article
    Back to top
    Copyright © 2025 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)