Struct AnyHitCollector<T>
Syntax
public struct AnyHitCollector<T> : ICollector<T> where T : struct, IQueryResult
Type Parameters
Constructors
AnyHitCollector(Single)
Declaration
public AnyHitCollector(float maxFraction)
Parameters
Type |
Name |
Description |
System.Single |
maxFraction |
|
Properties
EarlyOutOnFirstHit
Declaration
public bool EarlyOutOnFirstHit { get; }
Property Value
Type |
Description |
System.Boolean |
|
Implements
MaxFraction
Declaration
public float MaxFraction { get; }
Property Value
Type |
Description |
System.Single |
|
Implements
NumHits
Declaration
public int NumHits { get; }
Property Value
Type |
Description |
System.Int32 |
|
Implements
Methods
AddHit(T)
Declaration
public bool AddHit(T hit)
Parameters
Type |
Name |
Description |
T |
hit |
|
Returns
Type |
Description |
System.Boolean |
|
Implements
Declaration
public void TransformNewHits(int oldNumHits, float oldFraction, Math.MTransform transform, int rigidBodyIndex)
Parameters
Type |
Name |
Description |
System.Int32 |
oldNumHits |
|
System.Single |
oldFraction |
|
Math.MTransform |
transform |
|
System.Int32 |
rigidBodyIndex |
|
Implements
Declaration
public void TransformNewHits(int oldNumHits, float oldFraction, Math.MTransform transform, uint numSubKeyBits, uint subKey)
Parameters
Type |
Name |
Description |
System.Int32 |
oldNumHits |
|
System.Single |
oldFraction |
|
Math.MTransform |
transform |
|
System.UInt32 |
numSubKeyBits |
|
System.UInt32 |
subKey |
|
Implements