Struct RaycastInput
The input to RayCastQueries consists of the Start and End positions of a line segment as well as a CollisionFilter to cull potential hits.
Implements
Inherited Members
Namespace: Unity.U2D.Entities.Physics
Assembly: solution.dll
Syntax
public struct RaycastInput : IQueryInput
Fields
| Name | Description |
|---|---|
| Filter | The CollisionFilter is used to determine what objects the Ray is and isn't going to hit. |
Properties
| Name | Description |
|---|---|
| Default | |
| End | The End position of a Ray. |
| Ignore | Optional control of a specific PhysicsBody to ignore. |
| Ray | |
| Start | The Start position of a Ray. |