NVIDIA(R) PhysX(R) SDK 3.4 API Reference: PxContactRecorder Class Reference

NVIDIA PhysX SDK 3.4 API

PxContactRecorder Class Reference
[Immediatemode]

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

#include <PxImmediateMode.h>

List of all members.


Public Member Functions

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

Detailed Description

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

Constructor & Destructor Documentation

virtual PxContactRecorder::~PxContactRecorder (  )  [inline, virtual]


Member Function Documentation

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

Method to record new contacts.

Parameters:
[in] contactPoints The contact points produced
[in] nbContacts The number of contact points produced
[in] index The 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:



Copyright © 2008-2017 NVIDIA Corporation, 2701 San Tomas Expressway, Santa Clara, CA 95050 U.S.A. All rights reserved. www.nvidia.com