PxConstraintInfo Struct Reference

Descriptor for a broken constraint. More...

#include <PxSimulationEventCallback.h>

Collaboration diagram for PxConstraintInfo:

Public Member Functions

PX_INLINE PxConstraintInfo ()
 
PX_INLINE PxConstraintInfo (PxConstraint *c, void *extRef, PxU32 t)
 

Public Attributes

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

Detailed Description

Descriptor for a broken constraint.

An array of these structs gets passed to the PxSimulationEventCallback::onConstraintBreak() report.

See also
PxConstraint PxSimulationEventCallback.onConstraintBreak()

Constructor & Destructor Documentation

◆ PxConstraintInfo() [1/2]

PX_INLINE PxConstraintInfo::PxConstraintInfo ( )
inline

◆ PxConstraintInfo() [2/2]

PX_INLINE PxConstraintInfo::PxConstraintInfo ( PxConstraint c,
void *  extRef,
PxU32  t 
)
inline

Member Data Documentation

◆ constraint

PxConstraint* PxConstraintInfo::constraint

The broken constraint.

◆ externalReference

void* PxConstraintInfo::externalReference

The external object which owns the constraint (see PxConstraintConnector::getExternalReference())

◆ type

PxU32 PxConstraintInfo::type

Unique type ID of the external object. Allows to cast the provided external reference to the appropriate type.


The documentation for this struct was generated from the following file: