Public Member Functions | Public Attributes | List of all members
PxConstraintInfo Struct Reference

Descriptor for a broken constraint. More...

#include <PxSimulationEventCallback.h>

Collaboration diagram for PxConstraintInfo:
Collaboration graph
[legend]

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

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

Member Data Documentation

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.


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


Copyright © 2008-2015 NVIDIA Corporation, 2701 San Tomas Expressway, Santa Clara, CA 95050 U.S.A. All rights reserved. www.nvidia.com