Photon Fusion 1.1.11

Public Attributes | List of all members
LagCompensationSettings Class Reference

Settings for lag compensation history. More...

Public Attributes

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