Photon Fusion 2.0.3

Public Attributes | List of all members
TimeSyncConfiguration Class Reference

Time Synchronization Configuration More...

Public Attributes

double MaxLateInputs = 1.0
 
double MaxLateSnapshots = 1.0
 
int RedundantInputs = 1
 
int RedundantSnapshots = 1
 
double SampleWindowSeconds = 1.0
 

Detailed Description

Time Synchronization Configuration

Member Data Documentation

◆ MaxLateInputs

double MaxLateInputs = 1.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 = 1.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 = 1

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 = 1

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.