Photon Fusion 2.0.9

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

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

Public Member Functions

 BoxOverlapQueryParams (QueryParams queryParams, Vector3 center, Vector3 extents, Quaternion rotation, int staticHitsCapacity)
 Create a new BoxOverlapQueryParams More...
 

Public Attributes

Vector3 Center
 Represents the center of the box for the overlap query. More...
 
Vector3 Extents
 Represents the extents of the box for the overlap query. More...
 
QueryParams QueryParams
 Represents the base parameters for the query. More...
 
Quaternion Rotation
 Represents the rotation of the box 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 box overlap query

Constructor & Destructor Documentation

◆ BoxOverlapQueryParams()

BoxOverlapQueryParams ( QueryParams  queryParams,
Vector3  center,
Vector3  extents,
Quaternion  rotation,
int  staticHitsCapacity 
)

Create a new BoxOverlapQueryParams

Parameters
queryParamsParameters to be used
centerThe query center
extentsThe query extents
rotationThe query rotation
staticHitsCapacityCapacity for the cached PhysX and Box2D static hits.

Member Data Documentation

◆ Center

Vector3 Center

Represents the center of the box for the overlap query.

◆ Extents

Vector3 Extents

Represents the extents of the box for the overlap query.

◆ QueryParams

Represents the base parameters for the query.

◆ Rotation

Quaternion Rotation

Represents the rotation of the box for the overlap query.

◆ StaticHitsCapacity

int StaticHitsCapacity

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