Navigation
API > API/Runtime > API/Runtime/PhysicsCore
Inheritance Hierarchy
- ISpatialVisitor
- TBPVisitor
References
| Module | PhysicsCore |
| Header | /Engine/Source/Runtime/PhysicsCore/Public/SQVisitor.h |
| Include | #include "SQVisitor.h" |
Syntax
template<typename QueryGeometryType, typename TPayload, typename THitType, bool bGTData>
struct TBPVisitor : public Chaos::ISpatialVisitor< TPayload, Chaos::FReal >
Constructors
| Type | Name | Description | |
|---|---|---|---|
TBPVisitor
(
const FTransform& InWorldTM, |
Destructors
| Type | Name | Description | |
|---|---|---|---|
~TBPVisitor () |
Overridden from ISpatialVisitor
| Type | Name | Description | |
|---|---|---|---|
| const void * | GetQueryData () |
||
| const void * | Return a pointer to the payload on which we are querying the acceleration structure | ||
| const void * | GetSimData () |
||
| bool | Overlap
(
const Chaos::TSpatialVisitorData< TPayload >& Instance |
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 | |
| bool | Raycast
(
const Chaos::TSpatialVisitorData< TPayload >& Instance, |
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. | |
| bool | Sweep
(
const Chaos::TSpatialVisitorData< TPayload >& Instance, |
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. |
Enums
| Type | Name | Description | |
|---|---|---|---|
| ESQType |
Typedefs
| Name | Description |
|---|---|
| TGeometryType |