Module |
|
Header |
/Engine/Source/Runtime/Experimental/Chaos/Public/Chaos/ISpatialAcceleration.h |
Include |
#include "Chaos/ISpatialAcceleration.h" |
template<typename TPayloadType, typename T>
class ISpatialVisitor
Visitor base class used to iterate through spatial acceleration structures. This class is responsible for gathering any information it wants (for example narrow phase query results). This class determines whether the acceleration structure should continue to iterate through potential instances
Name | Description | |
---|---|---|
|
~ISpatialVisitor() |
Name | Description | ||
---|---|---|---|
|
const void &... |
GetQueryData() |
|
|
Overlap ( |
Called whenever an instance in the acceleration structure may overlap - the instance we are potentially overlapping Returns true to continue iterating through the acceleration structure |
|
|
Raycast ( |
Called whenever an instance in the acceleration structure may intersect with a raycast - the instance we are potentially intersecting with a raycast - the current query data. |
|
|
Sweep ( |
Called whenever an instance in the acceleration structure may intersect with a sweep - the instance we are potentially intersecting with a sweep - the length all future intersection tests will use. |