Struct ClosestHitCollector<T>
  
Syntax
public struct ClosestHitCollector<T> : ICollector<T> where T : struct, IQueryResult
 
Type Parameters
Constructors
  
ClosestHitCollector(Single)
Declaration
public ClosestHitCollector(float maxFraction)
 
Parameters
| Type | 
Name | 
Description | 
| Single | 
maxFraction | 
 | 
Properties
  
ClosestHit
Declaration
public T ClosestHit { get; }
 
Property Value
EarlyOutOnFirstHit
Declaration
public bool EarlyOutOnFirstHit { get; }
 
Property Value
Implements
MaxFraction
Declaration
public float MaxFraction { get; }
 
Property Value
Implements
NumHits
Declaration
public int NumHits { get; }
 
Property Value
Implements
Methods
  
AddHit(T)
Declaration
public bool AddHit(T hit)
 
Parameters
| Type | 
Name | 
Description | 
| T | 
hit | 
 | 
Returns
Implements