Photon Fusion 2.0.9

Public Member Functions | Public Attributes | List of all members
SphereOverlapQueryParams Struct Reference

Base parameters needed to execute a sphere overlap query More...

Public Member Functions

 SphereOverlapQueryParams (QueryParams queryParams, Vector3 center, float radius, int staticHitsCapacity)
 Create a new SphereOverlapQueryParams. More...
 

Public Attributes

Vector3 Center
 Represents the center of the sphere for the overlap query. More...
 
QueryParams QueryParams
 Represents the base parameters for the sphere overlap query. More...
 
float Radius
 Represents the radius of the sphere for the overlap query. More...
 
int StaticHitsCapacity
 Represents the capacity for the cached PhysX and Box2D static hits. More...
 

Detailed Description

Base parameters needed to execute a sphere overlap query

Constructor & Destructor Documentation

◆ SphereOverlapQueryParams()

SphereOverlapQueryParams ( QueryParams  queryParams,
Vector3  center,
float  radius,
int  staticHitsCapacity 
)

Create a new SphereOverlapQueryParams.

Parameters
queryParamsParameters to be used
centerThe query center
radiusThe query radius
staticHitsCapacityCapacity for the cached PhysX and Box2D static hits.

Member Data Documentation

◆ Center

Vector3 Center

Represents the center of the sphere for the overlap query.

◆ QueryParams

Represents the base parameters for the sphere overlap query.

◆ Radius

float Radius

Represents the radius of the sphere for the overlap query.

◆ StaticHitsCapacity

int StaticHitsCapacity

Represents the capacity for the cached PhysX and Box2D static hits.