#include <ModuleDestructible.h>
Public Attributes | |
DestructibleActor * | destructible |
PxVec3 | hitDirection |
PxBounds3 | worldBounds |
uint32_t | totalNumberOfFractureEvents |
uint16_t | minDepth |
uint16_t | maxDepth |
const ChunkData * | fractureEventList |
uint32_t | fractureEventListSize |
physx::PxActor const * | impactDamageActor |
PxVec3 | hitPosition |
void * | appliedDamageUserData |
Per-actor damage event data returned by an UserChunkReport
User data from applyDamage or applyRadiusDamage.
The DestructibleActor instance that these chunks belong to
Array of chunk fracture event data for all chunks above a size threshold, which have flags that overlap the module's chunkReportBitMask (see ModuleDestructible::setChunkReportBitMask). Currently the size cutoff is determined by the ModuleDestructible's chunkReportMaxFractureEventDepth (See ModuleDestructible::setChunkReportMaxFractureEventDepth). All chunks up to that depth, but no deeper, are reported in this list. The size of this array is given by fractureEventListSize. fractureEventList may be NULL if fractureEventListSize = 0.
Size of the fractureEventList array. This may be less than totalNumberOfFractureEvents if some of the fracture events involve chunks which do not meet the size criterion described in the notes for the fractureEventList array.
Damage event hitDirection in world space.
Impact damage position in world-space.
physx::PxActor const* nvidia::apex::DamageEventReportData::impactDamageActor |
Other PhysX actor that caused damage to DamageEventReportData.
Max depth of chunk fracture events caused by this damage event, which have flags that overlap the module's chunkReportBitMask (see ModuleDestructible::setChunkReportBitMask).
Min depth of chunk fracture events caused by this damage event, which have flags that overlap the module's chunkReportBitMask (see ModuleDestructible::setChunkReportBitMask).
Total number of fracture events caused by this damage event, which have flags that overlap the module's chunkReportBitMask (see ModuleDestructible::setChunkReportBitMask).
The axis-aligned bounding box of all chunk fractures caused by this damage event, which have flags that overlap the module's chunkReportBitMask (see ModuleDestructible::setChunkReportBitMask).