Descriptor for a broken constraint. More...
#include <PxSimulationEventCallback.h>

Public Member Functions | |
| PX_INLINE | PxConstraintInfo () |
| PX_INLINE | PxConstraintInfo (PxConstraint *c, void *extRef, PxU32 t) |
Public Attributes | |
| PxConstraint * | constraint |
| The broken constraint. More... | |
| void * | externalReference |
| The external object which owns the constraint (see PxConstraintConnector::getExternalReference()) More... | |
| PxU32 | type |
| Unique type ID of the external object. Allows to cast the provided external reference to the appropriate type. More... | |
Descriptor for a broken constraint.
An array of these structs gets passed to the PxSimulationEventCallback::onConstraintBreak() report.
|
inline |
|
inline |
| PxConstraint* PxConstraintInfo::constraint |
The broken constraint.
| void* PxConstraintInfo::externalReference |
The external object which owns the constraint (see PxConstraintConnector::getExternalReference())
| PxU32 PxConstraintInfo::type |
Unique type ID of the external object. Allows to cast the provided external reference to the appropriate type.