APEX Framework: nvidia::apex::UserChunkParticleReport Class Reference

NVIDIA APEX

nvidia::apex::UserChunkParticleReport Class Reference

#include <ModuleDestructible.h>

List of all members.

Public Member Functions

virtual void onParticleEmission (const ChunkParticleReportData &particleData)=0

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


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 Fri Dec 15 2017 13:58:38
Copyright © 2012-2017 NVIDIA Corporation, 2701 San Tomas Expressway, Santa Clara, CA 95050 U.S.A. All rights reserved.