Public Attributes
nvidia::apex::DamageEventReportData Struct Reference

#include <ModuleDestructible.h>

List of all members.

Public Attributes

DestructibleActordestructible
PxVec3 hitDirection
PxBounds3 worldBounds
uint32_t totalNumberOfFractureEvents
uint16_t minDepth
uint16_t maxDepth
const ChunkDatafractureEventList
uint32_t fractureEventListSize
physx::PxActor const * impactDamageActor
PxVec3 hitPosition
void * appliedDamageUserData

Detailed Description

Per-actor damage event data returned by an UserChunkReport


Member Data Documentation

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.

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).


The documentation for this struct 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.