Photon Fusion
2.1.1
Class that represents a sphere overlap query. Used to query against the NetworkRunner.LagCompensation API. More...
Inherits Query.
Public Member Functions | |
| SphereOverlapQuery (ref SphereOverlapQueryParams sphereOverlapParams) | |
| Create a new SphereOverlapQuery with the given SphereOverlapQueryParams. | |
| SphereOverlapQuery (ref SphereOverlapQueryParams sphereOverlapParams, Collider[] physXOverlapHitsCache, Collider2D[] box2DOverlapHitsCache) | |
| Create a new SphereOverlapQuery with the given SphereOverlapQueryParams. | |
Public Attributes | |
| Vector3 | Center |
| Represents the center of the sphere for the overlap query. | |
| float | Radius |
| Represents the radius of the sphere for the overlap query. | |
| Public Attributes inherited from Query | |
| float? | Alpha |
| Represents the interpolation factor between the current and next simulation tick. | |
| LayerMask | LayerMask |
| Represents the layer mask to selectively ignore colliders when performing the query. | |
| HitOptions | Options |
| Represents the options for the hit detection of the query. | |
| PlayerRef | Player |
| Represents the player who initiated the query. | |
| PreProcessingDelegate | PreProcessingDelegate |
| Represents the delegate to be called for pre-processing before the query is performed. | |
| int? | Tick |
| Represents the simulation tick at which the query was initiated. | |
| int? | TickTo |
| Represents the simulation tick to which the query is performed. | |
| QueryTriggerInteraction | TriggerInteraction |
| Represents the interaction type of the query with triggers. | |
| void * | UserArgs |
| Represents the user arguments for the query. | |
Protected Member Functions | |
| override bool | Check (ref AABB bounds) |
| Check if the given AABB intersects with the sphere overlap query. | |
| Protected Member Functions inherited from Query | |
| bool | Check (ref AABB bounds) |
| Checks if the provided bounds should be included in the query. | |
| Query (ref QueryParams qParams) | |
| Initializes a new instance of the Query class using the provided QueryParams. | |
Class that represents a sphere overlap query. Used to query against the NetworkRunner.LagCompensation API.
| SphereOverlapQuery | ( | ref SphereOverlapQueryParams | sphereOverlapParams | ) |
Create a new SphereOverlapQuery with the given SphereOverlapQueryParams.
| sphereOverlapParams | The parameters to be used when creating the query. |
| SphereOverlapQuery | ( | ref SphereOverlapQueryParams | sphereOverlapParams, |
| Collider[] | physXOverlapHitsCache, | ||
| Collider2D[] | box2DOverlapHitsCache ) |
Create a new SphereOverlapQuery with the given SphereOverlapQueryParams.
| sphereOverlapParams | The parameters to be used when creating the query. |
| physXOverlapHitsCache | Array to write the results of the PhysX query if used. |
| box2DOverlapHitsCache | Array to write the results of the Box2D query if used. |
|
protected |
Check if the given AABB intersects with the sphere overlap query.
| bounds | The bounds to check against. |