aboutsummaryrefslogtreecommitdiff
path: root/PhysX_3.4/Documentation/PhysXAPI/files/structPxClothParticle.html
blob: 97ce9464be3aad64560af0c86330a0e559521c2e (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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
<html>
	<head>
		<title>NVIDIA(R) PhysX(R) SDK 3.4 API Reference: PxClothParticle 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>PxClothParticle Struct Reference<br>
<small>
[<a class="el" href="group__cloth.html">cloth (deprecated)</a>]</small>
</h1><!-- doxytag: class="PxClothParticle" -->Per particle data for cloth.  
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="PxClothTypes_8h-source.html">PxClothTypes.h</a>&gt;</code>
<p>
<div class="dynheader">
Collaboration diagram for PxClothParticle:</div>
<div class="dynsection">
<p><center><img src="structPxClothParticle__coll__graph.png" border="0" usemap="#PxClothParticle__coll__map" alt="Collaboration graph"></center>
<map name="PxClothParticle__coll__map">
<area shape="rect" href="classPxVec3.html" title="3 Element vector class." alt="PxVec3" coords="28,16,81,37"></map>
<center><font size="2">[<a target="top" href="graph_legend.html">legend</a>]</font></center></div>

<p>
<a href="structPxClothParticle-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">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structPxClothParticle.html#d001c98574b520a472c4fe69c5feda97">PxClothParticle</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Default constructor, performs no initialization.  <a href="#d001c98574b520a472c4fe69c5feda97"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structPxClothParticle.html#bba9f7f04c68b5e84e2105543e08bb55">PxClothParticle</a> (const <a class="el" href="classPxVec3.html">PxVec3</a> &amp;pos_, PxReal invWeight_)</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="classPxVec3.html">PxVec3</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structPxClothParticle.html#aa29731ecf5b019f45c8510aff29bed5">pos</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">position of the particle (in cloth local space)  <a href="#aa29731ecf5b019f45c8510aff29bed5"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">PxReal&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structPxClothParticle.html#b407f770724473dc8d3e6754ae9fb3ef">invWeight</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">inverse mass of the particle. If set to 0, the particle is fully constrained.  <a href="#b407f770724473dc8d3e6754ae9fb3ef"></a><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
Per particle data for cloth. 
<p>
Defines position of the cloth particle as well as inverse mass. When inverse mass is set to 0, the particle gets fully constrained to the position during simulation. <dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classPxPhysics.html#1aa15d80d32aa15a3fdcd9c26fb3f3eb" title="Creates a cloth.">PxPhysics.createCloth()</a> <p>
<a class="el" href="classPxCloth.html#45c9ddfe6fdadcb99dc26c41eea2afb9" title="Updates cloth particle location or inverse weight for current and previous particle...">PxCloth.setParticles()</a> </dd></dl>
<dl compact><dt><b><a class="el" href="deprecated.html#_deprecated000068">Deprecated:</a></b></dt><dd>The PhysX cloth feature has been deprecated in PhysX version 3.4.1 </dd></dl>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="d001c98574b520a472c4fe69c5feda97"></a><!-- doxytag: member="PxClothParticle::PxClothParticle" ref="d001c98574b520a472c4fe69c5feda97" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">PxClothParticle::PxClothParticle           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Default constructor, performs no initialization. 
<p>

</div>
</div><p>
<a class="anchor" name="bba9f7f04c68b5e84e2105543e08bb55"></a><!-- doxytag: member="PxClothParticle::PxClothParticle" ref="bba9f7f04c68b5e84e2105543e08bb55" args="(const PxVec3 &amp;pos_, PxReal invWeight_)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">PxClothParticle::PxClothParticle           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classPxVec3.html">PxVec3</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>pos_</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">PxReal&nbsp;</td>
          <td class="paramname"> <em>invWeight_</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="b407f770724473dc8d3e6754ae9fb3ef"></a><!-- doxytag: member="PxClothParticle::invWeight" ref="b407f770724473dc8d3e6754ae9fb3ef" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">PxReal <a class="el" href="structPxClothParticle.html#b407f770724473dc8d3e6754ae9fb3ef">PxClothParticle::invWeight</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
inverse mass of the particle. If set to 0, the particle is fully constrained. 
<p>

</div>
</div><p>
<a class="anchor" name="aa29731ecf5b019f45c8510aff29bed5"></a><!-- doxytag: member="PxClothParticle::pos" ref="aa29731ecf5b019f45c8510aff29bed5" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classPxVec3.html">PxVec3</a> <a class="el" href="structPxClothParticle.html#aa29731ecf5b019f45c8510aff29bed5">PxClothParticle::pos</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
position of the particle (in cloth local space) 
<p>

</div>
</div><p>
<hr>The documentation for this struct was generated from the following file:<ul>
<li><a class="el" href="PxClothTypes_8h-source.html">PxClothTypes.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>