Photon Fusion 1.1.2

Public Attributes | List of all members
LagCompensationSettings Class Reference

Settings for lag compensation history. More...

Public Attributes

int HitboxBufferSize = 12
 Hitbox snapshot history size in ticks. More...
 
int HitboxCapacity = 512
 Hitbox capacity per snapshot. More...
 
float ExpansionFactor = 0.2f
 Broadphase BVH node expansion factor (default 20%) for leaf nodes, so updates are not too frequent. More...
 
Boolean Optimize = false
 Optional: tries to optimize broadphase BVH every update. May be removed in the future. More...
 
Boolean DebugBroadphase = false
 Enable gizmos for current BVH nodes. More...
 
Boolean DebugHistory = false
 Enable gizmos for hitbox history. More...
 
Color DebugColor = new Color(0, 1, 0, 0.5f)
 Server editor gizmo color for BVH nodes. More...
 
Color ClientDebugColor = new Color(0, 0, 1, 0.5f)
 Client editor gizmo color for BVH nodes. More...
 
Color HistoryDebugColor = new Color(0, 0, 1, 0.5f)
 Editor gizmo color for history representations. More...
 

Detailed Description

Settings for lag compensation history.

Member Data Documentation

◆ ClientDebugColor

Color ClientDebugColor = new Color(0, 0, 1, 0.5f)

Client editor gizmo color for BVH nodes.

◆ DebugBroadphase

Boolean DebugBroadphase = false

Enable gizmos for current BVH nodes.

◆ DebugColor

Color DebugColor = new Color(0, 1, 0, 0.5f)

Server editor gizmo color for BVH nodes.

◆ DebugHistory

Boolean DebugHistory = false

Enable gizmos for hitbox history.

◆ ExpansionFactor

float ExpansionFactor = 0.2f

Broadphase BVH node expansion factor (default 20%) for leaf nodes, so updates are not too frequent.

◆ HistoryDebugColor

Color HistoryDebugColor = new Color(0, 0, 1, 0.5f)

Editor gizmo color for history representations.

◆ HitboxBufferSize

int HitboxBufferSize = 12

Hitbox snapshot history size in ticks.

◆ HitboxCapacity

int HitboxCapacity = 512

Hitbox capacity per snapshot.

◆ Optimize

Boolean Optimize = false

Optional: tries to optimize broadphase BVH every update. May be removed in the future.