#include <PxSpatialIndex.h>
Public Member Functions | |
virtual PxAgain | onHit (PxSpatialIndexItem &item, PxReal distance, PxReal &shrunkDistance)=0 |
callback method invoked when a sweep or raycast query hits an item in a PxSpatialIndex structure. | |
virtual | ~PxSpatialLocationCallback () |
virtual PxSpatialLocationCallback::~PxSpatialLocationCallback | ( | ) | [inline, virtual] |
virtual PxAgain PxSpatialLocationCallback::onHit | ( | PxSpatialIndexItem & | item, | |
PxReal | distance, | |||
PxReal & | shrunkDistance | |||
) | [pure virtual] |
callback method invoked when a sweep or raycast query hits an item in a PxSpatialIndex structure.
[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. |