PxConstraintInfo Struct Reference
[Physics]

Descriptor for a broken constraint. More...

#include <PxSimulationEventCallback.h>

Collaboration diagram for PxConstraintInfo:

Collaboration graph
PxConstraintPxBasePxFlags\< PxBaseFlag::Enum, PxU16 \>
[legend]

List of all members.

Public Member Functions

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

Public Attributes

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


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

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.


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


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