Struct AllHitsCollector<T>
A collector which stores every hit.
Implements
ICollector<T>
Inherited Members
Namespace: Unity.Physics
Assembly: solution.dll
Syntax
public struct AllHitsCollector<T> : ICollector<T> where T : unmanaged, IQueryResult
Type Parameters
| Name | Description |
|---|---|
| T | Generic type parameter. |
Constructors
| Name | Description |
|---|---|
| AllHitsCollector(float, ref NativeList<T>) | Constructor. |
Fields
| Name | Description |
|---|---|
| AllHits | All hits. |
Properties
| Name | Description |
|---|---|
| EarlyOutOnFirstHit | Gets a value indicating whether the early out on first hit. |
| MaxFraction | Gets the maximum fraction. |
| NumHits | Gets the number of hits. |
Methods
| Name | Description |
|---|---|
| AddHit(T) | Adds a hit. |