|
| static float | GetTickDifference (NetworkTick currentTick, float currentFraction, NetworkTick lastAppliedTick, float lastAppliedFraction) |
| | Gets the difference between two ticks with fractions (to support client-side partial ticks).
|
| |
◆ GetTickDifference()
| static float GetTickDifference |
( |
NetworkTick | currentTick, |
|
|
float | currentFraction, |
|
|
NetworkTick | lastAppliedTick, |
|
|
float | lastAppliedFraction ) |
|
inlinestatic |
Gets the difference between two ticks with fractions (to support client-side partial ticks).
- Parameters
-
| currentTick | The current server tick integral. |
| currentFraction | The current server tick fraction. |
| lastAppliedTick | The server tick integral to compare against. |
| lastAppliedFraction | The server tick fraction to compare against. |
- Returns
- The tick difference. Can be negative if current tick is older than last applied tick.
The documentation for this class was generated from the following file:
- Runtime/Fundamental/Move/Utilities/MovablePredictionUtils.cs