PxContactRecorder Class Referenceabstract

Callback class to record contact points produced by immediate::PxGenerateContacts. More...

#include <PxImmediateMode.h>

Public Member Functions

virtual bool recordContacts (const Gu::ContactPoint *contactPoints, const PxU32 nbContacts, const PxU32 index)=0
 Method to record new contacts. More...
 
virtual ~PxContactRecorder ()
 

Detailed Description

Callback class to record contact points produced by immediate::PxGenerateContacts.

Constructor & Destructor Documentation

◆ ~PxContactRecorder()

virtual PxContactRecorder::~PxContactRecorder ( )
inlinevirtual

Member Function Documentation

◆ recordContacts()

virtual bool PxContactRecorder::recordContacts ( const Gu::ContactPoint *  contactPoints,
const PxU32  nbContacts,
const PxU32  index 
)
pure virtual

Method to record new contacts.

Parameters
[in]contactPointsThe contact points produced
[in]nbContactsThe number of contact points produced
[in]indexThe index of this pair. This is an index from 0-N-1 identifying which pair this relates to from within the array of pairs passed to PxGenerateContacts
Returns
a boolean to indicate if this callback successfully stored the contacts or not.

The documentation for this class was generated from the following file: