Class ColliderCastQueries
Inheritance
System.Object
ColliderCastQueries
Namespace: Unity.Physics
Syntax
public static class ColliderCastQueries
Methods
ColliderCollider<T>(ColliderCastInput, Collider*, ref T)
Declaration
public static bool ColliderCollider<T>(ColliderCastInput input, Collider*target, ref T collector)
where T : struct, ICollector<ColliderCastHit>
Parameters
| Type | Name | Description |
|---|---|---|
| ColliderCastInput | input | |
| Collider* | target | |
| T | collector |
Returns
| Type | Description |
|---|---|
| System.Boolean |
Type Parameters
| Name | Description |
|---|---|
| T |