Method CastCollider
CastCollider(ColliderCastInput)
Declaration
public bool CastCollider(ColliderCastInput input)
Parameters
| Type | Name | Description |
|---|---|---|
| ColliderCastInput | input |
Returns
| Type | Description |
|---|---|
| bool |
Implements
CastCollider(ColliderCastInput, out ColliderCastHit)
Declaration
public bool CastCollider(ColliderCastInput input, out ColliderCastHit closestHit)
Parameters
| Type | Name | Description |
|---|---|---|
| ColliderCastInput | input | |
| ColliderCastHit | closestHit |
Returns
| Type | Description |
|---|---|
| bool |
Implements
CastCollider(ColliderCastInput, ref NativeList<ColliderCastHit>)
Declaration
public bool CastCollider(ColliderCastInput input, ref NativeList<ColliderCastHit> allHits)
Parameters
| Type | Name | Description |
|---|---|---|
| ColliderCastInput | input | |
| NativeList<ColliderCastHit> | allHits |
Returns
| Type | Description |
|---|---|
| bool |
Implements
CastCollider<T>(ColliderCastInput, ref T)
Declaration
public bool CastCollider<T>(ColliderCastInput input, ref T collector) where T : struct, ICollector<ColliderCastHit>
Parameters
| Type | Name | Description |
|---|---|---|
| ColliderCastInput | input | |
| T | collector |
Returns
| Type | Description |
|---|---|
| bool |
Type Parameters
| Name | Description |
|---|---|
| T |