Navigation
Unreal Engine C++ API Reference > Runtime > PhysicsCore > TBPVisitor
- ISpatialVisitor::Raycast()
- TBPVisitor::Raycast()
References
Module | PhysicsCore |
Header | /Engine/Source/Runtime/PhysicsCore/Public/SQVisitor.h |
Include | #include "SQVisitor.h" |
virtual bool Raycast
&40;
const Chaos::TSpatialVisitorData< TPayload > & Instance,
Chaos::FQueryFastData & CurData
&41;
Remarks
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. Call SetLength to update the length all future intersection tests will use. A blocking intersection should update this Returns true to continue iterating through the acceleration structure