Photon Fusion 2.1.1

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.

Public Attributes

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

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.