Callback class for raycast and sweep queries against PxSpatialIndex.
More...
#include <PxSpatialIndex.h>
Callback class for raycast and sweep queries against PxSpatialIndex.
- See Also
- PxSpatialIndex
virtual PxSpatialLocationCallback::~PxSpatialLocationCallback |
( |
| ) |
|
|
inlinevirtual |
callback method invoked when a sweep or raycast query hits an item in a PxSpatialIndex structure.
- Parameters
-
[in] | item | the item that was hit. |
[in] | distance | the current maximum distance of the query. |
[out] | shrunkDistance | the updated maximum distance of the query. This must be no more than the current maximum distance. |
- Returns
- true if the query should continue, false if it should stop
- See Also
- PxAgain
The documentation for this struct was generated from the following file: