Interface BoundingVolumeHierarchy.IColliderDistanceLeafProcessor
Namespace: Unity.Physics
Syntax
public interface IColliderDistanceLeafProcessor
Methods
DistanceLeaf<T>(ColliderDistanceInput, Int32, ref T)
Declaration
bool DistanceLeaf<T>(ColliderDistanceInput input, int leafData, ref T collector)
where T : struct, ICollector<DistanceHit>
Parameters
| Type | Name | Description |
|---|---|---|
| ColliderDistanceInput | input | |
| Int32 | leafData | |
| T | collector |
Returns
| Type | Description |
|---|---|
| Boolean |
Type Parameters
| Name | Description |
|---|---|
| T |