Photon Fusion 2.0.4

Static Public Member Functions | Public Attributes | List of all members
LagCompensationDraw Class Reference

Provide access to iterate over the lag compensation system components and give the necessary information to draw them. More...

Static Public Member Functions

static void GizmosDrawWireCapsule (Vector3 topCenter, Vector3 bottomCenter, float capsuleRadius)
 Method to draw capsules out of simple shapes. More...
 

Public Attributes

BVHDraw BVHDraw
 Iterate over to get the BVH node draw data. More...
 
SnapshotHistoryDraw SnapshotHistoryDraw
 Iterate over to get the hitbox snapshots draw data. Iterate the received hitbox snapshot draw data to get all the colliders draw info for that snapshot. More...
 

Detailed Description

Provide access to iterate over the lag compensation system components and give the necessary information to draw them.

Member Function Documentation

◆ GizmosDrawWireCapsule()

static void GizmosDrawWireCapsule ( Vector3  topCenter,
Vector3  bottomCenter,
float  capsuleRadius 
)
static

Method to draw capsules out of simple shapes.

Parameters
topCenterThe top capsule end position
bottomCenterThe bottom capsule end posistion
capsuleRadiusThe capsule radius

Member Data Documentation

◆ BVHDraw

Iterate over to get the BVH node draw data.

◆ SnapshotHistoryDraw

Iterate over to get the hitbox snapshots draw data. Iterate the received hitbox snapshot draw data to get all the colliders draw info for that snapshot.