Photon Fusion 2.0.0

Public Attributes | List of all members
TimeSyncConfiguration Class Reference

Time Synchronization Configuration. More...

Public Attributes

double MaxLateInputs = 5.0
 
double MaxLateSnapshots = 5.0
 
int RedundantInputs = 2
 
int RedundantSnapshots = 2
 
double SampleWindowSeconds = 1.0
 

Detailed Description

Time Synchronization Configuration.

Member Data Documentation

◆ MaxLateInputs

double MaxLateInputs = 5.0

The maximum percentage of inputs that should ever arrive late because of jitter.

Decreasing this increases the client's simulation offset.

◆ MaxLateSnapshots

double MaxLateSnapshots = 5.0

The maximum percentage of snapshots that should ever arrive late because of jitter.

Decreasing this increases the client's interpolation delay.

◆ RedundantInputs

int RedundantInputs = 2

The number of consecutive, additional chances each input should have to reach the server before it's needed.

Increasing this increases the client's simulation offset.

◆ RedundantSnapshots

int RedundantSnapshots = 2

The number of consecutive snapshots a client should be able to miss without disrupting their interpolation.

Increasing this increases the client's interpolation delay.

◆ SampleWindowSeconds

double SampleWindowSeconds = 1.0

How big of a window the client looks at to evaluate the latest network conditions.

Increasing this makes the client slower to adapt to changes.