| FSQHitBuffer
|
Module |
|
Header |
/Engine/Source/Runtime/PhysicsCore/Public/ChaosSQTypes.h |
Include |
#include "ChaosSQTypes.h" |
template<typename HitType>
class FSQHitBuffer
Stores the results of scene queries. This can be passed around to multiple SQAccelerators and is responsible for sorting the results and pruning based on blocking. IncFlushCount / DecFlushCount is used to ensure any final sort / pruning operation is done when all SQAccelerators are finished. If you are passing this into multiple accelerators you should call IncFlushCount / DecFlushCount yourself as otherwise each accelerator will trigger its own sort / prune.
Name | Description | |
---|---|---|
|
FSQHitBuffer ( |
Name | Description | |
---|---|---|
|
~FSQHitBuffer() |
Name | Description | ||
---|---|---|---|
|
AddTouchingHit ( |
||
|
DecFlushCount() |
||
|
HitType *... |
GetBlock() |
|
|
const HitTyp... |
GetBlock() |
|
|
HitType *... |
GetHits() |
|
|
const HitTyp... |
GetHits() |
|
|
GetNumHits() |
||
|
HasBlockingHit() |
||
|
HasHit() |
||
|
IncFlushCount() |
Called. |
|
|
InsertHit ( |
Does not do any distance verification. This is up to the SQ code to manage |
|
|
SetBlockingHit ( |
||
|
WantsSingleResult() |