Photon Fusion 2.0.3

Classes | Enumerations | Functions
Fusion.LagCompensation Namespace Reference

Classes

struct  AABB
 Represents an Axis-Aligned Bounding Box (AABB). More...
 
class  BoxOverlapQuery
 Class that represents a box overlap query. Used to query against the NetworkRunner.LagCompensation API. More...
 
struct  BoxOverlapQueryParams
 Base parameters needed to execute a box overlap query More...
 
class  BVHDraw
 Provide a way to iterate over BVH and return a BVHNodeDrawInfo for each node. More...
 
class  BVHNodeDrawInfo
 Container class to provide the necessary info to draw nodes from the BVH More...
 
class  ColliderDrawInfo
 Container class to provide the necessary information to draw a hitbox collider More...
 
class  HitboxColliderContainerDraw
 Provide a way to iterate over the HitboxBuffer.HitboxSnapshot and return the ColliderDrawInfo for each collider on the snapshot. More...
 
class  LagCompensatedExt
 LagCompensated Extension methods More...
 
class  LagCompensationDraw
 Provide access to iterate over the lag compensation system components and give the necessary information to draw them. More...
 
struct  PositionRotationQueryParams
 Query parameters for position rotation query More...
 
class  Query
 Base class for all Lag Compensation queries More...
 
struct  QueryParams
 Base parameters needed to execute a query. More...
 
class  RaycastAllQuery
 Class that represents a raycast all query. Used to query against the NetworkRunner.LagCompensation API. More...
 
class  RaycastQuery
 Class that represents a raycast query. Used to query against the NetworkRunner.LagCompensation API. More...
 
struct  RaycastQueryParams
 Base parameters needed to execute a raycast query More...
 
class  SnapshotHistoryDraw
 Provide a way to iterate over the HitboxBuffer and return the HitboxColliderContainerDraw container for each snapshot on the buffer. More...
 
class  SphereOverlapQuery
 Class that represents a sphere overlap query. Used to query against the NetworkRunner.LagCompensation API. More...
 
struct  SphereOverlapQueryParams
 Base parameters needed to execute a sphere overlap query More...
 

Enumerations

enum class  HitType
 Queries can hit either fusion's custom Hitbox or Unity's standard Physx/Box2D colliders. More...
 

Functions

delegate void PreProcessingDelegate (Query query, HashSet< HitboxRoot > rootCandidates, HashSet< int > processedColliderIndices)
 Pre-processing delegate for queries. More...
 

Enumeration Type Documentation

◆ HitType

enum HitType
strong

Queries can hit either fusion's custom Hitbox or Unity's standard Physx/Box2D colliders.

Enumerator
None 

Used when a raycast does not hit anything. Not used on overlaps.

Hitbox 

LagCompensatedHit is a Fusion Hitbox.

PhysX 

LagCompensatedHit is a Unity PhysX Collider.

Box2D 

LagCompensatedHit is a Unity Box2D Collider.

Function Documentation

◆ PreProcessingDelegate()

delegate void Fusion.LagCompensation.PreProcessingDelegate ( Query  query,
HashSet< HitboxRoot rootCandidates,
HashSet< int >  processedColliderIndices 
)

Pre-processing delegate for queries.

Parameters
queryThe query to be performed.
rootCandidatesThe root candidates to be used for the query.
processedColliderIndicesThe indices of the colliders that have been processed.