Public Member Functions | Protected Member Functions
nvidia::apex::UserChunkParticleReport Class Reference

#include <ModuleDestructible.h>

List of all members.

Public Member Functions

virtual void onParticleEmission (const ChunkParticleReportData &particleData)=0

Protected Member Functions

virtual ~UserChunkParticleReport ()

Detailed Description

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


Constructor & Destructor Documentation

virtual nvidia::apex::UserChunkParticleReport::~UserChunkParticleReport ( ) [inline, protected, virtual]

Member Function Documentation

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


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

Generated on Sat Dec 1 2018 15:51:53

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