aboutsummaryrefslogtreecommitdiff
path: root/PhysX_3.4/Documentation/PhysXAPI/files/structPxQueryHit.html
blob: 197a90d6829e3d7ad3b764fed2f302a7803feedb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
<html>
	<head>
		<title>NVIDIA(R) PhysX(R) SDK 3.4 API Reference: PxQueryHit 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>PxQueryHit Struct Reference<br>
<small>
[<a class="el" href="group__scenequery.html">Scenequery</a>]</small>
</h1><!-- doxytag: class="PxQueryHit" --><!-- doxytag: inherits="PxActorShape" -->Scene query hit information.  
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="PxQueryReport_8h-source.html">PxQueryReport.h</a>&gt;</code>
<p>
<div class="dynheader">
Inheritance diagram for PxQueryHit:</div>
<div class="dynsection">
<p><center><img src="structPxQueryHit__inherit__graph.png" border="0" usemap="#PxQueryHit__inherit__map" alt="Inheritance graph"></center>
<map name="PxQueryHit__inherit__map">
<area shape="rect" href="structPxLocationHit.html" title="Scene query hit information for raycasts and sweeps returning hit position and normal..." alt="PxLocationHit" coords="60,155,145,176"><area shape="rect" href="structPxOverlapHit.html" title="Stores results of overlap queries." alt="PxOverlapHit" coords="169,155,255,176"><area shape="rect" href="structPxActorShape.html" title="collection of set bits defined in PxHitFlag." alt="PxActorShape" coords="112,16,203,38"><area shape="rect" href="structPxRaycastHit.html" title="Stores results of raycast queries." alt="PxRaycastHit" coords="7,224,92,246"><area shape="rect" href="structPxSweepHit.html" title="Stores results of sweep queries." alt="PxSweepHit" coords="116,224,199,246"></map>
<center><font size="2">[<a target="top" href="graph_legend.html">legend</a>]</font></center></div>
<div class="dynheader">
Collaboration diagram for PxQueryHit:</div>
<div class="dynsection">
<p><center><img src="structPxQueryHit__coll__graph.png" border="0" usemap="#PxQueryHit__coll__map" alt="Collaboration graph"></center>
<map name="PxQueryHit__coll__map">
<area shape="rect" href="structPxActorShape.html" title="collection of set bits defined in PxHitFlag." alt="PxActorShape" coords="83,360,173,382"><area shape="rect" href="classPxRigidActor.html" title="PxRigidActor represents a base class shared between dynamic and static rigid bodies..." alt="PxRigidActor" coords="39,270,121,291"><area shape="rect" href="classPxActor.html" title="PxActor is the base class for the main simulation objects in the physics SDK." alt="PxActor" coords="60,179,113,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="classPxShape.html" title="Abstract class for collision shapes." alt="PxShape" coords="132,224,196,246"><area shape="rect" href="classPxFlags.html" title="PxFlags\&lt; PxBaseFlag::Enum, PxU16 \&gt;" alt="PxFlags\&lt; PxBaseFlag::Enum, PxU16 \&gt;" coords="7,16,244,38"></map>
<center><font size="2">[<a target="top" href="graph_legend.html">legend</a>]</font></center></div>

<p>
<a href="structPxQueryHit-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="structPxQueryHit.html#f8b229617f39cc007c74a646f8026dff">PxQueryHit</a> ()</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="group__foundation.html#gcce5749db3dcfb916e98c253374264ed">PxU32</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structPxQueryHit.html#e3462529024eafa98ed2abe1b3b9146c">faceIndex</a></td></tr>

</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
Scene query hit information. <hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="f8b229617f39cc007c74a646f8026dff"></a><!-- doxytag: member="PxQueryHit::PxQueryHit" ref="f8b229617f39cc007c74a646f8026dff" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">PX_INLINE PxQueryHit::PxQueryHit           </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>
<hr><h2>Member Data Documentation</h2>
<a class="anchor" name="e3462529024eafa98ed2abe1b3b9146c"></a><!-- doxytag: member="PxQueryHit::faceIndex" ref="e3462529024eafa98ed2abe1b3b9146c" 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="structPxQueryHit.html#e3462529024eafa98ed2abe1b3b9146c">PxQueryHit::faceIndex</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Face index of touched triangle, for triangle meshes, convex meshes and height fields.<p>
<dl class="note" compact><dt><b>Note:</b></dt><dd>This index will default to 0xFFFFffff value for overlap queries. <p>
Please refer to the user guide for more details for sweep queries. <p>
This index is remapped by mesh cooking. Use <a class="el" href="classPxTriangleMesh.html#6b36d40812d5cb70507472cd4e147ae0" title="Returns the triangle remapping table.">PxTriangleMesh::getTrianglesRemap()</a> to convert to original mesh index. <p>
For convex meshes use <a class="el" href="classPxConvexMesh.html#9c9e10d0faaa446ea96494160d359cba" title="Returns the polygon data.">PxConvexMesh::getPolygonData()</a> to retrieve touched polygon data. </dd></dl>

</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 &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>