Struct BufferedLinearInterpolator<T>.BufferedItem
Represents a buffered item measurement.
Inherited Members
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 |