#include <ModuleDestructible.h>
Public Member Functions | |
virtual void | onImpactDamageNotify (const ImpactDamageEventData *buffer, uint32_t bufferSize)=0 |
UserImpactDamageReport - API for a user-defined callback to get a buffer of impact damage events
virtual void nvidia::apex::UserImpactDamageReport::onImpactDamageNotify | ( | const ImpactDamageEventData * | buffer, |
uint32_t | bufferSize | ||
) | [pure virtual] |
User implementation of UserImpactDamageReport must overload this function. If an instance of this object is passed to ModuleDestructible::setImpactDamageReportCallback, this function will get called once during ApexScene::fetchResults, passing back an array of ImpactDamageEventData reporting all impact damage events.