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