Struct GhostDeltaPredictor
Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.ValueType.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Unity.NetCode
Syntax
public struct GhostDeltaPredictor
Constructors
GhostDeltaPredictor(UInt32, UInt32, UInt32, UInt32)
Declaration
public GhostDeltaPredictor(uint tick, uint baseline0, uint baseline1, uint baseline2)
Parameters
| Type | Name | Description |
|---|---|---|
| System.UInt32 | tick | |
| System.UInt32 | baseline0 | |
| System.UInt32 | baseline1 | |
| System.UInt32 | baseline2 |
Methods
PredictInt(Int32, Int32, Int32)
Declaration
public int PredictInt(int baseline0, int baseline1, int baseline2)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | baseline0 | |
| System.Int32 | baseline1 | |
| System.Int32 | baseline2 |
Returns
| Type | Description |
|---|---|
| System.Int32 |