Method CastRay
CastRay<T>(RaycastInput, NativeArray<PhysicsBody>, ref T)
Declaration
public bool CastRay<T>(RaycastInput input, NativeArray<PhysicsBody> rigidBodies, ref T collector) where T : struct, ICollector<RaycastHit>
Parameters
| Type | Name | Description |
|---|---|---|
| RaycastInput | input | |
| NativeArray<PhysicsBody> | rigidBodies | |
| T | collector |
Returns
| Type | Description |
|---|---|
| bool |
Type Parameters
| Name | Description |
|---|---|
| T |