#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. | |
void * | externalReference |
The external object which owns the constraint (see PxConstraintConnector::getExternalReference()). | |
PxU32 | type |
Unique type ID of the external object. Allows to cast the provided external reference to the appropriate type. |
An array of these structs gets passed to the PxSimulationEventCallback::onConstraintBreak() report.
PX_INLINE PxConstraintInfo::PxConstraintInfo | ( | ) | [inline] |
PX_INLINE PxConstraintInfo::PxConstraintInfo | ( | PxConstraint * | c, | |
void * | extRef, | |||
PxU32 | t | |||
) | [inline] |
The broken constraint.
The external object which owns the constraint (see PxConstraintConnector::getExternalReference()).
Unique type ID of the external object. Allows to cast the provided external reference to the appropriate type.