Returns touching sweep hits to the user in a fixed size array embedded in the buffer class. More...
#include <PxQueryReport.h>
Public Member Functions | |
PxSweepBufferN () | |
Public Member Functions inherited from PxHitBuffer< PxSweepHit > | |
PxHitBuffer (PxSweepHit *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 PxSweepHit & | 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 PxSweepHit * | getTouches () const |
PX_INLINE const PxSweepHit & | getTouch (const PxU32 index) const |
PX_INLINE PxU32 | getMaxNbTouches () const |
virtual | ~PxHitBuffer () |
Public Member Functions inherited from PxHitCallback< PxSweepHit > | |
PxHitCallback (PxSweepHit *aTouches, PxU32 aMaxNbTouches) | |
Initializes the class with user provided buffer. More... | |
virtual void | finalizeQuery () |
Query finalization callback, called after the last processTouches callback. More... | |
virtual | ~PxHitCallback () |
PX_FORCE_INLINE bool | hasAnyHits () |
Returns true if any blocking or touching hits were encountered during a query. More... | |
Public Attributes | |
PxSweepHit | hits [N] |
Public Attributes inherited from PxHitCallback< PxSweepHit > | |
PxSweepHit | block |
Holds the closest blocking hit result for the query. Invalid if hasBlock is false. More... | |
bool | hasBlock |
Set to true if there was a blocking hit during query. More... | |
PxSweepHit * | touches |
User specified buffer for touching hits. More... | |
PxU32 | maxNbTouches |
Size of the user specified touching hits buffer. More... | |
PxU32 | nbTouches |
Number of touching hits returned by the query. Used with PxHitBuffer. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from PxHitBuffer< PxSweepHit > | |
virtual PxAgain | processTouches (const PxSweepHit *buffer, PxU32 nbHits) |
virtual callback function used to communicate query results to the user. More... | |
Returns touching sweep hits to the user in a fixed size array embedded in the buffer class.
|
inline |
PxSweepHit PxSweepBufferN< N >::hits[N] |