Photon Fusion
2.1.1
Class that represents a raycast all query. Used to query against the NetworkRunner.LagCompensation API. More...
Inherits RaycastQuery.
Public Member Functions | |
| RaycastAllQuery (ref RaycastQueryParams raycastQueryParams) | |
| Create a new RaycastAllQuery with the given RaycastQueryParams. | |
| RaycastAllQuery (ref RaycastQueryParams raycastQueryParams, RaycastHit[] physXRaycastHitsCache, RaycastHit2D[] box2DRaycastHitCache) | |
| Create a new RaycastAllQuery with the given RaycastQueryParams. The result colliders arrays can be provided to avoid allocation. | |
| Public Member Functions inherited from RaycastQuery | |
| RaycastQuery (ref RaycastQueryParams raycastQueryParams) | |
| Create a new RaycastQuery with the given RaycastQueryParams. | |
Additional Inherited Members | |
| Public Attributes inherited from RaycastQuery | |
| Vector3 | Direction |
| Represents the direction of the raycast for the query. | |
| float | Length |
| Represents the maximum length of the raycast for the query. | |
| Vector3 | Origin |
| Represents the origin point of the raycast for the 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 inherited from RaycastQuery | |
| override bool | Check (ref AABB bounds) |
| Check if the provided bounds should be included in the 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 raycast all query. Used to query against the NetworkRunner.LagCompensation API.
| RaycastAllQuery | ( | ref RaycastQueryParams | raycastQueryParams | ) |
Create a new RaycastAllQuery with the given RaycastQueryParams.
| raycastQueryParams | The parameters to be used when creating the query. |
| RaycastAllQuery | ( | ref RaycastQueryParams | raycastQueryParams, |
| RaycastHit[] | physXRaycastHitsCache, | ||
| RaycastHit2D[] | box2DRaycastHitCache ) |
Create a new RaycastAllQuery with the given RaycastQueryParams. The result colliders arrays can be provided to avoid allocation.
| raycastQueryParams | The parameters to be used when creating the query. |
| physXRaycastHitsCache | Array to write the results of the PhysX query if used. |
| box2DRaycastHitCache | Array to write the results of the Box2D query if used. |