Navigation
Unreal Engine C++ API Reference > Runtime > PhysicsCore
Inheritance Hierarchy
- ISpatialVisitor
- TSQVisitor
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 TSQVisitor : public Chaos::ISpatialVisitor< TPayload, Chaos::FReal >
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
TSQVisitor
(
const FTransform& InWorldTM, |
||
![]() |
TSQVisitor
(
const FVector& InStartPoint, |
||
![]() |
TSQVisitor
(
const FTransform& InStartTM, |
Destructors
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
~TSQVisitor () |
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 | ||
![]() ![]() |
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 |