diff options
| author | git perforce import user <a@b> | 2016-10-25 12:29:14 -0600 |
|---|---|---|
| committer | Sheikh Dawood Abdul Ajees <Sheikh Dawood Abdul Ajees> | 2016-10-25 18:56:37 -0500 |
| commit | 3dfe2108cfab31ba3ee5527e217d0d8e99a51162 (patch) | |
| tree | fa6485c169e50d7415a651bf838f5bcd0fd3bfbd /PhysX_3.4/Documentation/PhysXAPI/files/structPxHitCallback.html | |
| download | physx-3.4-3dfe2108cfab31ba3ee5527e217d0d8e99a51162.tar.xz physx-3.4-3dfe2108cfab31ba3ee5527e217d0d8e99a51162.zip | |
Initial commit:
PhysX 3.4.0 Update @ 21294896
APEX 1.4.0 Update @ 21275617
[CL 21300167]
Diffstat (limited to 'PhysX_3.4/Documentation/PhysXAPI/files/structPxHitCallback.html')
| -rw-r--r-- | PhysX_3.4/Documentation/PhysXAPI/files/structPxHitCallback.html | 353 |
1 files changed, 353 insertions, 0 deletions
diff --git a/PhysX_3.4/Documentation/PhysXAPI/files/structPxHitCallback.html b/PhysX_3.4/Documentation/PhysXAPI/files/structPxHitCallback.html new file mode 100644 index 00000000..434a0287 --- /dev/null +++ b/PhysX_3.4/Documentation/PhysXAPI/files/structPxHitCallback.html @@ -0,0 +1,353 @@ +<html> + <head> + <title>NVIDIA(R) PhysX(R) SDK 3.4 API Reference: PxHitCallback< HitType > Struct Template 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> + <a class="qindex" href="hierarchy.html">Class Hierarchy</a> + <a class="qindex" href="annotated.html">Compound List</a> + <a class="qindex" href="functions.html">Compound Members</a> + </center> + <hr class="second"> + </div> +<!-- Generated by Doxygen 1.5.8 --> +<div class="contents"> +<h1>PxHitCallback< HitType > Struct Template Reference<br> +<small> +[<a class="el" href="group__scenequery.html">Scenequery</a>]</small> +</h1><!-- doxytag: class="PxHitCallback" -->This callback class facilitates reporting scene query hits (intersections) to the user. +<a href="#_details">More...</a> +<p> +<code>#include <<a class="el" href="PxQueryReport_8h-source.html">PxQueryReport.h</a>></code> +<p> +<div class="dynheader"> +Collaboration diagram for PxHitCallback< HitType >:</div> +<div class="dynsection"> +<p><center><img src="structPxHitCallback__coll__graph.png" border="0" usemap="#PxHitCallback_3_01HitType_01_4__coll__map" alt="Collaboration graph"></center> +<center><font size="2">[<a target="top" href="graph_legend.html">legend</a>]</font></center></div> + +<p> +<a href="structPxHitCallback-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"> </td><td class="memItemRight" valign="bottom"><a class="el" href="structPxHitCallback.html#062cff2cdd2dfe1f63d0549758ea2627">PxHitCallback</a> (HitType *aTouches, <a class="el" href="group__foundation.html#gcce5749db3dcfb916e98c253374264ed">PxU32</a> aMaxNbTouches)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Initializes the class with user provided buffer. <a href="#062cff2cdd2dfe1f63d0549758ea2627"></a><br></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="group__scenequery.html#g4d0184965c0a910f5c96cb69c0690f5c">PxAgain</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="structPxHitCallback.html#9c6fc25eb66c22dad2a35d5630d4ec68">processTouches</a> (const HitType *buffer, <a class="el" href="group__foundation.html#gcce5749db3dcfb916e98c253374264ed">PxU32</a> nbHits)=0</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">virtual callback function used to communicate query results to the user. <a href="#9c6fc25eb66c22dad2a35d5630d4ec68"></a><br></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="structPxHitCallback.html#86b66684b448ec43083edf3aa1983234">finalizeQuery</a> ()</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Query finalization callback, called after the last processTouches callback. <a href="#86b66684b448ec43083edf3aa1983234"></a><br></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="structPxHitCallback.html#7fbb5959c9fcc98834745644422210c3">~PxHitCallback</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">PX_FORCE_INLINE bool </td><td class="memItemRight" valign="bottom"><a class="el" href="structPxHitCallback.html#8ff687b42ac0273e730c714bf66dae49">hasAnyHits</a> ()</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns true if any blocking or touching hits were encountered during a query. <a href="#8ff687b42ac0273e730c714bf66dae49"></a><br></td></tr> +<tr><td colspan="2"><br><h2>Public Attributes</h2></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">HitType </td><td class="memItemRight" valign="bottom"><a class="el" href="structPxHitCallback.html#63b2851eaf99b190fc468e00e8d1e55d">block</a></td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Holds the closest blocking hit result for the query. Invalid if hasBlock is false. <a href="#63b2851eaf99b190fc468e00e8d1e55d"></a><br></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="structPxHitCallback.html#c20c6d1c2dd520d771da9b63f7f4f363">hasBlock</a></td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Set to true if there was a blocking hit during query. <a href="#c20c6d1c2dd520d771da9b63f7f4f363"></a><br></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">HitType * </td><td class="memItemRight" valign="bottom"><a class="el" href="structPxHitCallback.html#a3fa478af9db3e043a540fca72a2f468">touches</a></td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">User specified buffer for touching hits. <a href="#a3fa478af9db3e043a540fca72a2f468"></a><br></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="group__foundation.html#gcce5749db3dcfb916e98c253374264ed">PxU32</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="structPxHitCallback.html#0e64f72a5edf7c442ce81e3e4a8c61d1">maxNbTouches</a></td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Size of the user specified touching hits buffer. <a href="#0e64f72a5edf7c442ce81e3e4a8c61d1"></a><br></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="group__foundation.html#gcce5749db3dcfb916e98c253374264ed">PxU32</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="structPxHitCallback.html#549f6828e98c9aeaee9012defa100f74">nbTouches</a></td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Number of touching hits returned by the query. Used with <a class="el" href="structPxHitBuffer.html" title="Returns scene query hits (intersections) to the user in a preallocated buffer.">PxHitBuffer</a>. <a href="#549f6828e98c9aeaee9012defa100f74"></a><br></td></tr> +</table> +<hr><a name="_details"></a><h2>Detailed Description</h2> +<h3>template<typename HitType><br> + struct PxHitCallback< HitType ></h3> + +This callback class facilitates reporting scene query hits (intersections) to the user. +<p> +User overrides the virtual processTouches function to receive hits in (possibly multiple) fixed size blocks.<p> +<dl class="note" compact><dt><b>Note:</b></dt><dd><a class="el" href="structPxHitBuffer.html" title="Returns scene query hits (intersections) to the user in a preallocated buffer.">PxHitBuffer</a> derives from this class and is used to receive touching hits in a fixed size buffer. <p> +Since the compiler doesn't look in template dependent base classes when looking for non-dependent names <p> +with some compilers it will be necessary to use "this->hasBlock" notation to access a parent variable <p> +in a child callback class. <p> +Pre-made typedef shorthands, such as <a class="el" href="group__scenequery.html#g4dbe8142d799492bd8e7c5ec70bfac41" title="Raycast query callback.">PxRaycastCallback</a> can be used for raycast, overlap and sweep queries.</dd></dl> +<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="structPxHitBuffer.html" title="Returns scene query hits (intersections) to the user in a preallocated buffer.">PxHitBuffer</a> <a class="el" href="structPxRaycastHit.html" title="Stores results of raycast queries.">PxRaycastHit</a> <a class="el" href="structPxSweepHit.html" title="Stores results of sweep queries.">PxSweepHit</a> <a class="el" href="structPxOverlapHit.html" title="Stores results of overlap queries.">PxOverlapHit</a> <a class="el" href="group__scenequery.html#g4dbe8142d799492bd8e7c5ec70bfac41" title="Raycast query callback.">PxRaycastCallback</a> <a class="el" href="group__scenequery.html#g9baa3a8cad31bbb8ef666fe01b3afeb7" title="Overlap query callback.">PxOverlapCallback</a> <a class="el" href="group__scenequery.html#g6f93f556cef747d50f643499928dd865" title="Sweep query callback.">PxSweepCallback</a> </dd></dl> +<hr><h2>Constructor & Destructor Documentation</h2> +<a class="anchor" name="062cff2cdd2dfe1f63d0549758ea2627"></a><!-- doxytag: member="PxHitCallback::PxHitCallback" ref="062cff2cdd2dfe1f63d0549758ea2627" args="(HitType *aTouches, PxU32 aMaxNbTouches)" --> +<div class="memitem"> +<div class="memproto"> +<div class="memtemplate"> +template<typename HitType> </div> + <table class="memname"> + <tr> + <td class="memname"><a class="el" href="structPxHitCallback.html">PxHitCallback</a>< HitType >::<a class="el" href="structPxHitCallback.html">PxHitCallback</a> </td> + <td>(</td> + <td class="paramtype">HitType * </td> + <td class="paramname"> <em>aTouches</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype"><a class="el" href="group__foundation.html#gcce5749db3dcfb916e98c253374264ed">PxU32</a> </td> + <td class="paramname"> <em>aMaxNbTouches</em></td><td> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td></td><td><code> [inline]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> +Initializes the class with user provided buffer. +<p> +<dl compact><dt><b>Parameters:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign="top"><tt>[in]</tt> </td><td valign="top"><em>aTouches</em> </td><td>Optional buffer for recording <a class="el" href="structPxQueryHitType.html#cab1ef408184995d169330ed689b79e3ac7ebce08c20ff88ea4328035daa2498" title="a hit on the shape touches the intersection geometry of the query but does not block...">PxQueryHitType::eTOUCH</a> type hits. </td></tr> + <tr><td valign="top"><tt>[in]</tt> </td><td valign="top"><em>aMaxNbTouches</em> </td><td>Size of touch buffer.</td></tr> + </table> +</dl> +<dl class="note" compact><dt><b>Note:</b></dt><dd>if aTouches is NULL and aMaxNbTouches is 0, only the closest blocking hit will be recorded by the query. <p> +If <a class="el" href="structPxQueryFlag.html#2124ff0cff0a021e01e6880a1bba431f2837a6ac649b29ee72af661b65f4d8ab">PxQueryFlag::eANY_HIT</a> flag is used as a query parameter, hasBlock will be set to true and blockingHit will be used to receive the result. <p> +Both eTOUCH and eBLOCK hits will be registered as hasBlock=true and stored in <a class="el" href="structPxHitCallback.html#63b2851eaf99b190fc468e00e8d1e55d" title="Holds the closest blocking hit result for the query. Invalid if hasBlock is false...">PxHitCallback.block</a> when eANY_HIT flag is used.</dd></dl> +<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="structPxHitCallback.html#c20c6d1c2dd520d771da9b63f7f4f363" title="Set to true if there was a blocking hit during query.">PxHitCallback.hasBlock</a> <a class="el" href="structPxHitCallback.html#63b2851eaf99b190fc468e00e8d1e55d" title="Holds the closest blocking hit result for the query. Invalid if hasBlock is false...">PxHitCallback.block</a> </dd></dl> + +</div> +</div><p> +<a class="anchor" name="7fbb5959c9fcc98834745644422210c3"></a><!-- doxytag: member="PxHitCallback::~PxHitCallback" ref="7fbb5959c9fcc98834745644422210c3" args="()" --> +<div class="memitem"> +<div class="memproto"> +<div class="memtemplate"> +template<typename HitType> </div> + <table class="memname"> + <tr> + <td class="memname">virtual <a class="el" href="structPxHitCallback.html">PxHitCallback</a>< HitType >::~<a class="el" href="structPxHitCallback.html">PxHitCallback</a> </td> + <td>(</td> + <td class="paramname"> </td> + <td> ) </td> + <td><code> [inline, virtual]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> + +</div> +</div><p> +<hr><h2>Member Function Documentation</h2> +<a class="anchor" name="86b66684b448ec43083edf3aa1983234"></a><!-- doxytag: member="PxHitCallback::finalizeQuery" ref="86b66684b448ec43083edf3aa1983234" args="()" --> +<div class="memitem"> +<div class="memproto"> +<div class="memtemplate"> +template<typename HitType> </div> + <table class="memname"> + <tr> + <td class="memname">virtual void <a class="el" href="structPxHitCallback.html">PxHitCallback</a>< HitType >::finalizeQuery </td> + <td>(</td> + <td class="paramname"> </td> + <td> ) </td> + <td><code> [inline, virtual]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> +Query finalization callback, called after the last processTouches callback. +<p> + +</div> +</div><p> +<a class="anchor" name="8ff687b42ac0273e730c714bf66dae49"></a><!-- doxytag: member="PxHitCallback::hasAnyHits" ref="8ff687b42ac0273e730c714bf66dae49" args="()" --> +<div class="memitem"> +<div class="memproto"> +<div class="memtemplate"> +template<typename HitType> </div> + <table class="memname"> + <tr> + <td class="memname">PX_FORCE_INLINE bool <a class="el" href="structPxHitCallback.html">PxHitCallback</a>< HitType >::hasAnyHits </td> + <td>(</td> + <td class="paramname"> </td> + <td> ) </td> + <td><code> [inline]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> +Returns true if any blocking or touching hits were encountered during a query. +<p> + +</div> +</div><p> +<a class="anchor" name="9c6fc25eb66c22dad2a35d5630d4ec68"></a><!-- doxytag: member="PxHitCallback::processTouches" ref="9c6fc25eb66c22dad2a35d5630d4ec68" args="(const HitType *buffer, PxU32 nbHits)=0" --> +<div class="memitem"> +<div class="memproto"> +<div class="memtemplate"> +template<typename HitType> </div> + <table class="memname"> + <tr> + <td class="memname">virtual <a class="el" href="group__scenequery.html#g4d0184965c0a910f5c96cb69c0690f5c">PxAgain</a> <a class="el" href="structPxHitCallback.html">PxHitCallback</a>< HitType >::processTouches </td> + <td>(</td> + <td class="paramtype">const HitType * </td> + <td class="paramname"> <em>buffer</em>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype"><a class="el" href="group__foundation.html#gcce5749db3dcfb916e98c253374264ed">PxU32</a> </td> + <td class="paramname"> <em>nbHits</em></td><td> </td> + </tr> + <tr> + <td></td> + <td>)</td> + <td></td><td></td><td><code> [pure virtual]</code></td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> +virtual callback function used to communicate query results to the user. +<p> +This callback will always be invoked with <a class="el" href="structPxHitCallback.html#a3fa478af9db3e043a540fca72a2f468" title="User specified buffer for touching hits.">touches</a> as a buffer if <a class="el" href="structPxHitCallback.html#a3fa478af9db3e043a540fca72a2f468" title="User specified buffer for touching hits.">touches</a> was specified as non-NULL. All reported touch hits are guaranteed to be closer than the closest blocking hit.<p> +<dl compact><dt><b>Parameters:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign="top"><tt>[in]</tt> </td><td valign="top"><em>buffer</em> </td><td>Callback will report touch hits to the user in this buffer. This pointer will be the same as <a class="el" href="structPxHitCallback.html#a3fa478af9db3e043a540fca72a2f468" title="User specified buffer for touching hits.">touches</a>. </td></tr> + <tr><td valign="top"><tt>[in]</tt> </td><td valign="top"><em>nbHits</em> </td><td>Number of touch hits reported in buffer. This number will not exceed <a class="el" href="structPxHitCallback.html#0e64f72a5edf7c442ce81e3e4a8c61d1" title="Size of the user specified touching hits buffer.">maxNbTouches</a>.</td></tr> + </table> +</dl> +<dl class="note" compact><dt><b>Note:</b></dt><dd>There is a significant performance penalty in case multiple touch callbacks are issued (up to 2x) <p> +to avoid the penalty use a bigger buffer so that all touching hits can be reported in a single buffer. <p> +If true (again) is returned from the callback, nbTouches will be reset to 0, <p> +If false is returned, nbTouched will remain unchanged. <p> +By the time processTouches is first called, the globally closest blocking hit is already determined, <p> +values of hasBlock and block are final and all touch hits are guaranteed to be closer than the blocking hit. <p> +touches and maxNbTouches can be modified inside of processTouches callback.</dd></dl> +<dl class="return" compact><dt><b>Returns:</b></dt><dd>true to continue receiving callbacks in case there are more hits or false to stop.</dd></dl> +<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="group__scenequery.html#g4d0184965c0a910f5c96cb69c0690f5c" title="Describes query behavior after returning a partial query result via a callback.">PxAgain</a> <a class="el" href="structPxRaycastHit.html" title="Stores results of raycast queries.">PxRaycastHit</a> <a class="el" href="structPxSweepHit.html" title="Stores results of sweep queries.">PxSweepHit</a> <a class="el" href="structPxOverlapHit.html" title="Stores results of overlap queries.">PxOverlapHit</a> </dd></dl> + +<p>Implemented in <a class="el" href="structPxHitBuffer.html#f60ac2d3405c5af467f767f812f3f01d">PxHitBuffer< HitType ></a>, <a class="el" href="structPxHitBuffer.html#f60ac2d3405c5af467f767f812f3f01d">PxHitBuffer< PxOverlapHit ></a>, <a class="el" href="structPxHitBuffer.html#f60ac2d3405c5af467f767f812f3f01d">PxHitBuffer< PxRaycastHit ></a>, and <a class="el" href="structPxHitBuffer.html#f60ac2d3405c5af467f767f812f3f01d">PxHitBuffer< PxSweepHit ></a>.</p> + +</div> +</div><p> +<hr><h2>Member Data Documentation</h2> +<a class="anchor" name="63b2851eaf99b190fc468e00e8d1e55d"></a><!-- doxytag: member="PxHitCallback::block" ref="63b2851eaf99b190fc468e00e8d1e55d" args="" --> +<div class="memitem"> +<div class="memproto"> +<div class="memtemplate"> +template<typename HitType> </div> + <table class="memname"> + <tr> + <td class="memname">HitType <a class="el" href="structPxHitCallback.html">PxHitCallback</a>< HitType >::<a class="el" href="structPxHitCallback.html#63b2851eaf99b190fc468e00e8d1e55d">block</a> </td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> +Holds the closest blocking hit result for the query. Invalid if hasBlock is false. +<p> + +</div> +</div><p> +<a class="anchor" name="c20c6d1c2dd520d771da9b63f7f4f363"></a><!-- doxytag: member="PxHitCallback::hasBlock" ref="c20c6d1c2dd520d771da9b63f7f4f363" args="" --> +<div class="memitem"> +<div class="memproto"> +<div class="memtemplate"> +template<typename HitType> </div> + <table class="memname"> + <tr> + <td class="memname">bool <a class="el" href="structPxHitCallback.html">PxHitCallback</a>< HitType >::<a class="el" href="structPxHitCallback.html#c20c6d1c2dd520d771da9b63f7f4f363">hasBlock</a> </td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> +Set to true if there was a blocking hit during query. +<p> + +</div> +</div><p> +<a class="anchor" name="0e64f72a5edf7c442ce81e3e4a8c61d1"></a><!-- doxytag: member="PxHitCallback::maxNbTouches" ref="0e64f72a5edf7c442ce81e3e4a8c61d1" args="" --> +<div class="memitem"> +<div class="memproto"> +<div class="memtemplate"> +template<typename HitType> </div> + <table class="memname"> + <tr> + <td class="memname"><a class="el" href="group__foundation.html#gcce5749db3dcfb916e98c253374264ed">PxU32</a> <a class="el" href="structPxHitCallback.html">PxHitCallback</a>< HitType >::<a class="el" href="structPxHitCallback.html#0e64f72a5edf7c442ce81e3e4a8c61d1">maxNbTouches</a> </td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> +Size of the user specified touching hits buffer. +<p> +<dl class="note" compact><dt><b>Note:</b></dt><dd>If set to 0 all hits will default to <a class="el" href="structPxQueryHitType.html#cab1ef408184995d169330ed689b79e360dc59a348d85c101747ed45d9b20750" title="a hit on the shape blocks the query (does not block overlap queries)">PxQueryHitType::eBLOCK</a>, otherwise to <a class="el" href="structPxQueryHitType.html#cab1ef408184995d169330ed689b79e3ac7ebce08c20ff88ea4328035daa2498" title="a hit on the shape touches the intersection geometry of the query but does not block...">PxQueryHitType::eTOUCH</a> <p> +Hit type returned from pre-filter overrides this default </dd></dl> + +</div> +</div><p> +<a class="anchor" name="549f6828e98c9aeaee9012defa100f74"></a><!-- doxytag: member="PxHitCallback::nbTouches" ref="549f6828e98c9aeaee9012defa100f74" args="" --> +<div class="memitem"> +<div class="memproto"> +<div class="memtemplate"> +template<typename HitType> </div> + <table class="memname"> + <tr> + <td class="memname"><a class="el" href="group__foundation.html#gcce5749db3dcfb916e98c253374264ed">PxU32</a> <a class="el" href="structPxHitCallback.html">PxHitCallback</a>< HitType >::<a class="el" href="structPxHitCallback.html#549f6828e98c9aeaee9012defa100f74">nbTouches</a> </td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> +Number of touching hits returned by the query. Used with <a class="el" href="structPxHitBuffer.html" title="Returns scene query hits (intersections) to the user in a preallocated buffer.">PxHitBuffer</a>. +<p> +<dl class="note" compact><dt><b>Note:</b></dt><dd>If true (PxAgain) is returned from the callback, nbTouches will be reset to 0. </dd></dl> + +</div> +</div><p> +<a class="anchor" name="a3fa478af9db3e043a540fca72a2f468"></a><!-- doxytag: member="PxHitCallback::touches" ref="a3fa478af9db3e043a540fca72a2f468" args="" --> +<div class="memitem"> +<div class="memproto"> +<div class="memtemplate"> +template<typename HitType> </div> + <table class="memname"> + <tr> + <td class="memname">HitType* <a class="el" href="structPxHitCallback.html">PxHitCallback</a>< HitType >::<a class="el" href="structPxHitCallback.html#a3fa478af9db3e043a540fca72a2f468">touches</a> </td> + </tr> + </table> +</div> +<div class="memdoc"> + +<p> +User specified buffer for touching hits. +<p> + +</div> +</div><p> +<hr>The documentation for this struct was generated from the following file:<ul> +<li><a class="el" href="PxQueryReport_8h-source.html">PxQueryReport.h</a></ul> +</div> + +<hr style="width: 100%; height: 2px;"><br> +Copyright © 2008-2016 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> |