Module |
|
Header |
/Engine/Source/Runtime/Experimental/Chaos/Public/Chaos/ISpatialAcceleration.h |
Include |
#include "Chaos/ISpatialAcceleration.h" |
bool Raycast
(
const TSpatialVisitorData< TPayloadType > & Instance,
FQueryFastData & CurData
)
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