<html>
	<head>
		<title>NVIDIA(R) PhysX(R) SDK 3.4 API Reference: PxConstraintInfo Struct Reference</title>
		<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
		<LINK HREF="NVIDIA.css" REL="stylesheet" TYPE="text/css">
	</head>

	<body bgcolor="#FFFFFF">
		<div id="header">
			<hr class="first">
			<img alt="" src="images/PhysXlogo.png" align="middle"> <br>
			<center>
				<a class="qindex" href="main.html">Main Page</a> &nbsp; 
				<a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; 
				<a class="qindex" href="annotated.html">Compound List</a> &nbsp; 
				<a class="qindex" href="functions.html">Compound Members</a> &nbsp;  
			</center>
			<hr class="second">
		</div>
<!--  Generated by Doxygen 1.5.8 -->
<div class="contents">
<h1>PxConstraintInfo Struct Reference<br>
<small>
[<a class="el" href="group__physics.html">Physics</a>]</small>
</h1><!-- doxytag: class="PxConstraintInfo" -->Descriptor for a broken constraint.   
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="PxSimulationEventCallback_8h-source.html">PxSimulationEventCallback.h</a>&gt;</code>
<p>
<div class="dynheader">
Collaboration diagram for PxConstraintInfo:</div>
<div class="dynsection">
<p><center><img src="structPxConstraintInfo__coll__graph.png" border="0" usemap="#PxConstraintInfo__coll__map" alt="Collaboration graph"></center>
<map name="PxConstraintInfo__coll__map">
<area shape="rect" href="classPxConstraint.html" title="A plugin class for implementing constraints."  alt="PxConstraint" coords="83,179,168,200"><area shape="rect" href="classPxBase.html" title="Base class for objects that can be members of a PxCollection."  alt="PxBase" coords="97,107,153,128"><area shape="rect" href="classPxFlags.html" title="PxFlags\&lt; PxBaseFlag::Enum, PxU16 \&gt;" alt="PxFlags\&lt; PxBaseFlag::Enum, PxU16 \&gt;" coords="7,16,244,37"></map>
<center><font size="2">[<a target="top" href="graph_legend.html">legend</a>]</font></center></div>

<p>
<a href="structPxConstraintInfo-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">PX_INLINE&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structPxConstraintInfo.html#073f7587ffb496c4bdc470eb34032fd2">PxConstraintInfo</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">PX_INLINE&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structPxConstraintInfo.html#a7bd411f2d3571030b8da6eec0daf6ea">PxConstraintInfo</a> (<a class="el" href="classPxConstraint.html">PxConstraint</a> *c, void *extRef, <a class="el" href="group__foundation.html#gcce5749db3dcfb916e98c253374264ed">PxU32</a> t)</td></tr>

<tr><td colspan="2"><br><h2>Public Attributes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classPxConstraint.html">PxConstraint</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structPxConstraintInfo.html#38e7eda9e38f5318b9d4dc27fa46316b">constraint</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The broken constraint.   <a href="#38e7eda9e38f5318b9d4dc27fa46316b"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structPxConstraintInfo.html#64fa7758b3a66b003097a9609aa67c3c">externalReference</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The external object which owns the constraint (see <a class="el" href="classPxConstraintConnector.html#1210c94b5fa0513b2cd99ceedccd23ee" title="Fetches external data for a constraint. ">PxConstraintConnector::getExternalReference()</a>).   <a href="#64fa7758b3a66b003097a9609aa67c3c"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="group__foundation.html#gcce5749db3dcfb916e98c253374264ed">PxU32</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structPxConstraintInfo.html#324fadc19904fff635aa9d16da7a21f9">type</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Unique type ID of the external object.  Allows to cast the provided external reference to the appropriate type.   <a href="#324fadc19904fff635aa9d16da7a21f9"></a><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
Descriptor for a broken constraint.  
<p>
An array of these structs gets passed to the <a class="el" href="classPxSimulationEventCallback.html#67c6553ee9090481ece8b041502eb948" title="This is called when a breakable constraint breaks. ">PxSimulationEventCallback::onConstraintBreak()</a> report.<p>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classPxConstraint.html" title="A plugin class for implementing constraints. ">PxConstraint</a> <a class="el" href="classPxSimulationEventCallback.html#67c6553ee9090481ece8b041502eb948" title="This is called when a breakable constraint breaks. ">PxSimulationEventCallback.onConstraintBreak()</a> </dd></dl>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="073f7587ffb496c4bdc470eb34032fd2"></a><!-- doxytag: member="PxConstraintInfo::PxConstraintInfo" ref="073f7587ffb496c4bdc470eb34032fd2" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">PX_INLINE PxConstraintInfo::PxConstraintInfo           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="a7bd411f2d3571030b8da6eec0daf6ea"></a><!-- doxytag: member="PxConstraintInfo::PxConstraintInfo" ref="a7bd411f2d3571030b8da6eec0daf6ea" args="(PxConstraint *c, void *extRef, PxU32 t)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">PX_INLINE PxConstraintInfo::PxConstraintInfo           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classPxConstraint.html">PxConstraint</a> *&nbsp;</td>
          <td class="paramname"> <em>c</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void *&nbsp;</td>
          <td class="paramname"> <em>extRef</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__foundation.html#gcce5749db3dcfb916e98c253374264ed">PxU32</a>&nbsp;</td>
          <td class="paramname"> <em>t</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<hr><h2>Member Data Documentation</h2>
<a class="anchor" name="38e7eda9e38f5318b9d4dc27fa46316b"></a><!-- doxytag: member="PxConstraintInfo::constraint" ref="38e7eda9e38f5318b9d4dc27fa46316b" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classPxConstraint.html">PxConstraint</a>* <a class="el" href="structPxConstraintInfo.html#38e7eda9e38f5318b9d4dc27fa46316b">PxConstraintInfo::constraint</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
The broken constraint.  
<p>

</div>
</div><p>
<a class="anchor" name="64fa7758b3a66b003097a9609aa67c3c"></a><!-- doxytag: member="PxConstraintInfo::externalReference" ref="64fa7758b3a66b003097a9609aa67c3c" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void* <a class="el" href="structPxConstraintInfo.html#64fa7758b3a66b003097a9609aa67c3c">PxConstraintInfo::externalReference</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
The external object which owns the constraint (see <a class="el" href="classPxConstraintConnector.html#1210c94b5fa0513b2cd99ceedccd23ee" title="Fetches external data for a constraint. ">PxConstraintConnector::getExternalReference()</a>).  
<p>

</div>
</div><p>
<a class="anchor" name="324fadc19904fff635aa9d16da7a21f9"></a><!-- doxytag: member="PxConstraintInfo::type" ref="324fadc19904fff635aa9d16da7a21f9" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__foundation.html#gcce5749db3dcfb916e98c253374264ed">PxU32</a> <a class="el" href="structPxConstraintInfo.html#324fadc19904fff635aa9d16da7a21f9">PxConstraintInfo::type</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

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

</div>
</div><p>
<hr>The documentation for this struct was generated from the following file:<ul>
<li><a class="el" href="PxSimulationEventCallback_8h-source.html">PxSimulationEventCallback.h</a></ul>
</div>

<hr style="width: 100%; height: 2px;"><br>
Copyright &copy; 2008-2018 NVIDIA Corporation, 2701 San Tomas Expressway, Santa Clara, CA 95050 U.S.A. All rights reserved.  <a href="http://www.nvidia.com ">www.nvidia.com</a>
</body>
</html>
