Photon Fusion 2.0.0

Public Attributes | Properties | List of all members
LagCompensationSettings Class Reference

Settings for lag compensation history. More...

Public Attributes

int CachedStaticCollidersSize = 64
 The size of the cached static colliders (PhysX or Box2D) array of the default Lag Compensation Queries.
 
bool Enabled = false
 Indicates if a HitboxManager instance should be added when the NetworkRunner is initialized.
 
int HitboxBufferLengthInMs = 200
 Hitbox snapshot history length in milliseconds.
 
int HitboxDefaultCapacity = 512
 Hitbox capacity per snapshot.
 

Properties

float ExpansionFactor [get]
 Broadphase BVH node expansion factor (default 20%) for leaf nodes, so updates are not too frequent.
 
bool Optimize [get]
 Optional: tries to optimize broadphase BVH every update. May be removed in the future.
 

Detailed Description

Settings for lag compensation history.