Class that represents a raycast query. Used to query against the NetworkRunner.LagCompensation API.
More...
Inherits Query.
Inherited by RaycastAllQuery.
|
| Vector3 | Direction |
| | Represents the direction of the raycast for the query. More...
|
| |
| float | Length |
| | Represents the maximum length of the raycast for the query. More...
|
| |
| Vector3 | Origin |
| | Represents the origin point of the raycast for the query. More...
|
| |
| 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...
|
| |
Class that represents a raycast query. Used to query against the NetworkRunner.LagCompensation API.
◆ RaycastQuery()
◆ Check()
| override bool Check |
( |
ref AABB |
bounds | ) |
|
|
protectedvirtual |
Check if the provided bounds should be included in the query.
- Parameters
-
| bounds | The bounds to check. |
- Returns
- True if the bounds should be included in the query, false otherwise.
Implements Query.
◆ Direction
Represents the direction of the raycast for the query.
◆ Length
Represents the maximum length of the raycast for the query.
◆ Origin
Represents the origin point of the raycast for the query.