Photon Fusion
2.0.8
Class that represents a box overlap query. Used to query against the NetworkRunner.LagCompensation API. More...
Inherits Query.
Public Member Functions | |
| BoxOverlapQuery (ref BoxOverlapQueryParams boxOverlapParams) | |
| Create a new BoxOverlapQuery with the given boxOverlapParams . More... | |
| BoxOverlapQuery (ref BoxOverlapQueryParams boxOverlapParams, Collider[] physXOverlapHitsCache, Collider2D[] box2DOverlapHitsCache) | |
| Create a new BoxOverlapQuery with the given boxOverlapParams . The result colliders arrays can be provided to avoid allocation. More... | |
Public Attributes | |
| Vector3 | Center |
| The box query center. More... | |
| Vector3 | Extents |
| The box query extents. More... | |
| Quaternion | Rotation |
| The box query rotation. More... | |
Public Attributes inherited from Query | |
| float? | Alpha |
| Represents the interpolation factor between the current and next simulation tick. More... | |
| LayerMask | LayerMask |
| Represents the layer mask to selectively ignore colliders when performing the query. More... | |
| HitOptions | Options |
| Represents the options for the hit detection of the query. More... | |
| PlayerRef | Player |
| Represents the player who initiated the query. More... | |
| PreProcessingDelegate | PreProcessingDelegate |
| Represents the delegate to be called for pre-processing before the query is performed. More... | |
| int? | Tick |
| Represents the simulation tick at which the query was initiated. More... | |
| int? | TickTo |
| Represents the simulation tick to which the query is performed. More... | |
| QueryTriggerInteraction | TriggerInteraction |
| Represents the interaction type of the query with triggers. More... | |
| void * | UserArgs |
| Represents the user arguments for the query. More... | |
Protected Member Functions | |
| override bool | Check (ref AABB bounds) |
| Check if the given bounds overlaps with this query. More... | |
Protected Member Functions inherited from Query | |
| Query (ref QueryParams qParams) | |
| Initializes a new instance of the Query class using the provided QueryParams. More... | |
Class that represents a box overlap query. Used to query against the NetworkRunner.LagCompensation API.
| BoxOverlapQuery | ( | ref BoxOverlapQueryParams | boxOverlapParams | ) |
Create a new BoxOverlapQuery with the given boxOverlapParams .
| boxOverlapParams | The parameters to be used when creating the query. |
| BoxOverlapQuery | ( | ref BoxOverlapQueryParams | boxOverlapParams, |
| Collider[] | physXOverlapHitsCache, | ||
| Collider2D[] | box2DOverlapHitsCache | ||
| ) |
Create a new BoxOverlapQuery with the given boxOverlapParams . The result colliders arrays can be provided to avoid allocation.
| boxOverlapParams | 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. |
|
protectedvirtual |
Check if the given bounds overlaps with this query.
| bounds | The bounds to check. |
Implements Query.
| Vector3 Center |
The box query center.
| Vector3 Extents |
The box query extents.
| Quaternion Rotation |
The box query rotation.