Public Member Functions
nvidia::apex::UserImpactDamageReport Class Reference

#include <ModuleDestructible.h>

List of all members.

Public Member Functions

virtual void onImpactDamageNotify (const ImpactDamageEventData *buffer, uint32_t bufferSize)=0

Detailed Description

UserImpactDamageReport - API for a user-defined callback to get a buffer of impact damage events


Member Function Documentation

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.


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

Generated on Tue Aug 1 2017 22:43:54

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