#include <ModuleDestructible.h>
Public Member Functions | |
virtual void | onParticleEmission (const ChunkParticleReportData &particleData)=0 |
Protected Member Functions | |
virtual | ~UserChunkParticleReport () |
UserChunkParticleReport - API for a user-defined callback to get particle buffer data when a chunk crumbles or emits dust particles. Note - only crumble emitters are implemented in 1.2.0
virtual nvidia::apex::UserChunkParticleReport::~UserChunkParticleReport | ( | ) | [inline, protected, virtual] |
virtual void nvidia::apex::UserChunkParticleReport::onParticleEmission | ( | const ChunkParticleReportData & | particleData | ) | [pure virtual] |
User implementation of UserChunkParticleReport must overload this function. This function will get called when an DestructibleActor generates crumble particle or dust particle effect data. Crumble particles are generated whenever a chunk is destroyed completely and the DestructibleActorFlag CRUMBLE_SMALLEST_CHUNKS is set. Dust line particles are generated along chunk boundaries whenever they are fractured free from other chunks.
Note - only crumble emitters are implemented in 1.2.0