Method Raycast
Raycast<TProcessor, TCollector>(RaycastInput, ref TProcessor, ref TCollector)
Declaration
public bool Raycast<TProcessor, TCollector>(RaycastInput input, ref TProcessor leafProcessor, ref TCollector collector) where TProcessor : struct, BoundingVolumeHierarchy.IRaycastLeafProcessor where TCollector : struct, ICollector<RaycastHit>
Parameters
Type | Name | Description |
---|---|---|
RaycastInput | input | |
TProcessor | leafProcessor | |
TCollector | collector |
Returns
Type | Description |
---|---|
bool |
Type Parameters
Name | Description |
---|---|
TProcessor | |
TCollector |