Returns touching raycast hits to the user in a fixed size array embedded in the buffer class. More...
#include <PxQueryReport.h>
Public Member Functions | |
PxRaycastBufferN () | |
Public Member Functions inherited from PxHitBuffer< PxRaycastHit > | |
PxHitBuffer (PxRaycastHit *aTouches=NULL, PxU32 aMaxNbTouches=0) | |
Initializes the buffer with user memory. More... | |
PX_INLINE PxU32 | getNbAnyHits () const |
Computes the number of any hits in this result, blocking or touching. More... | |
PX_INLINE const PxRaycastHit & | getAnyHit (const PxU32 index) const |
Convenience iterator used to access any hits in this result, blocking or touching. More... | |
PX_INLINE PxU32 | getNbTouches () const |
PX_INLINE const PxRaycastHit * | getTouches () const |
PX_INLINE const PxRaycastHit & | getTouch (const PxU32 index) const |
PX_INLINE PxU32 | getMaxNbTouches () const |
virtual | ~PxHitBuffer () |
Public Member Functions inherited from PxHitCallback< PxRaycastHit > | |
PxHitCallback (PxRaycastHit *aTouches, PxU32 aMaxNbTouches) | |
Initializes the class with user provided buffer. More... | |
virtual void | finalizeQuery () |
virtual | ~PxHitCallback () |
PX_FORCE_INLINE bool | hasAnyHits () |
Returns true if any blocking or touching hits were encountered during a query. More... | |
Public Attributes | |
PxRaycastHit | hits [N] |
Additional Inherited Members | |
Protected Member Functions inherited from PxHitBuffer< PxRaycastHit > | |
virtual PxAgain | processTouches (const PxRaycastHit *buffer, PxU32 nbHits) |
virtual callback function used to communicate query results to the user. More... | |
Returns touching raycast hits to the user in a fixed size array embedded in the buffer class.
|
inline |
PxRaycastHit PxRaycastBufferN< N >::hits[N] |