struct_compound_shape_settings_1_1_sub_shape_settings.html 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
  5. <meta http-equiv="X-UA-Compatible" content="IE=11"/>
  6. <meta name="generator" content="Doxygen 1.12.0"/>
  7. <meta name="viewport" content="width=device-width, initial-scale=1"/>
  8. <title>Jolt Physics: CompoundShapeSettings::SubShapeSettings Struct Reference</title>
  9. <link href="tabs.css" rel="stylesheet" type="text/css"/>
  10. <script type="text/javascript" src="jquery.js"></script>
  11. <script type="text/javascript" src="dynsections.js"></script>
  12. <script type="text/javascript" src="clipboard.js"></script>
  13. <link href="navtree.css" rel="stylesheet" type="text/css"/>
  14. <script type="text/javascript" src="navtreedata.js"></script>
  15. <script type="text/javascript" src="navtree.js"></script>
  16. <script type="text/javascript" src="resize.js"></script>
  17. <script type="text/javascript" src="cookie.js"></script>
  18. <link href="search/search.css" rel="stylesheet" type="text/css"/>
  19. <script type="text/javascript" src="search/searchdata.js"></script>
  20. <script type="text/javascript" src="search/search.js"></script>
  21. <script type="text/x-mathjax-config">
  22. MathJax.Hub.Config({
  23. extensions: ["tex2jax.js"],
  24. jax: ["input/TeX","output/HTML-CSS"],
  25. });
  26. </script>
  27. <script type="text/javascript" async="async" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js"></script>
  28. <link href="doxygen.css" rel="stylesheet" type="text/css" />
  29. </head>
  30. <body>
  31. <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
  32. <div id="titlearea">
  33. <table cellspacing="0" cellpadding="0">
  34. <tbody>
  35. <tr id="projectrow">
  36. <td id="projectlogo"><img alt="Logo" src="LogoSmall.png"/></td>
  37. <td id="projectalign">
  38. <div id="projectname">Jolt Physics
  39. </div>
  40. <div id="projectbrief">A multi core friendly Game Physics Engine</div>
  41. </td>
  42. </tr>
  43. </tbody>
  44. </table>
  45. </div>
  46. <!-- end header part -->
  47. <!-- Generated by Doxygen 1.12.0 -->
  48. <script type="text/javascript">
  49. /* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
  50. var searchBox = new SearchBox("searchBox", "search/",'.html');
  51. /* @license-end */
  52. </script>
  53. <script type="text/javascript">
  54. /* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
  55. $(function() { codefold.init(0); });
  56. /* @license-end */
  57. </script>
  58. <script type="text/javascript" src="menudata.js"></script>
  59. <script type="text/javascript" src="menu.js"></script>
  60. <script type="text/javascript">
  61. /* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
  62. $(function() {
  63. initMenu('',true,false,'search.php','Search',true);
  64. $(function() { init_search(); });
  65. });
  66. /* @license-end */
  67. </script>
  68. <div id="main-nav"></div>
  69. </div><!-- top -->
  70. <div id="side-nav" class="ui-resizable side-nav-resizable">
  71. <div id="nav-tree">
  72. <div id="nav-tree-contents">
  73. <div id="nav-sync" class="sync"></div>
  74. </div>
  75. </div>
  76. <div id="splitbar" style="-moz-user-select:none;"
  77. class="ui-resizable-handle">
  78. </div>
  79. </div>
  80. <script type="text/javascript">
  81. /* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
  82. $(function(){initNavTree('struct_compound_shape_settings_1_1_sub_shape_settings.html',''); initResizable(true); });
  83. /* @license-end */
  84. </script>
  85. <div id="doc-content">
  86. <!-- window showing the filter options -->
  87. <div id="MSearchSelectWindow"
  88. onmouseover="return searchBox.OnSearchSelectShow()"
  89. onmouseout="return searchBox.OnSearchSelectHide()"
  90. onkeydown="return searchBox.OnSearchSelectKey(event)">
  91. </div>
  92. <!-- iframe showing the search results (closed by default) -->
  93. <div id="MSearchResultsWindow">
  94. <div id="MSearchResults">
  95. <div class="SRPage">
  96. <div id="SRIndex">
  97. <div id="SRResults"></div>
  98. <div class="SRStatus" id="Loading">Loading...</div>
  99. <div class="SRStatus" id="Searching">Searching...</div>
  100. <div class="SRStatus" id="NoMatches">No Matches</div>
  101. </div>
  102. </div>
  103. </div>
  104. </div>
  105. <div class="header">
  106. <div class="summary">
  107. <a href="#pub-attribs">Public Attributes</a> &#124;
  108. <a href="struct_compound_shape_settings_1_1_sub_shape_settings-members.html">List of all members</a> </div>
  109. <div class="headertitle"><div class="title">CompoundShapeSettings::SubShapeSettings Struct Reference</div></div>
  110. </div><!--header-->
  111. <div class="contents">
  112. <p><code>#include &lt;<a class="el" href="_compound_shape_8h_source.html">CompoundShape.h</a>&gt;</code></p>
  113. <table class="memberdecls">
  114. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-attribs" name="pub-attribs"></a>
  115. Public Attributes</h2></td></tr>
  116. <tr class="memitem:aa79a4e31ee31e2d2760a15e01de76a71" id="r_aa79a4e31ee31e2d2760a15e01de76a71"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_ref_const.html">RefConst</a>&lt; <a class="el" href="class_shape_settings.html">ShapeSettings</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#aa79a4e31ee31e2d2760a15e01de76a71">mShape</a></td></tr>
  117. <tr class="memdesc:aa79a4e31ee31e2d2760a15e01de76a71"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sub shape (either this or mShapePtr needs to be filled up) <br /></td></tr>
  118. <tr class="separator:aa79a4e31ee31e2d2760a15e01de76a71"><td class="memSeparator" colspan="2">&#160;</td></tr>
  119. <tr class="memitem:ae1a012a16565000879fbe836e22c5a07" id="r_ae1a012a16565000879fbe836e22c5a07"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_ref_const.html">RefConst</a>&lt; <a class="el" href="class_shape.html">Shape</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#ae1a012a16565000879fbe836e22c5a07">mShapePtr</a></td></tr>
  120. <tr class="memdesc:ae1a012a16565000879fbe836e22c5a07"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sub shape (either this or mShape needs to be filled up) <br /></td></tr>
  121. <tr class="separator:ae1a012a16565000879fbe836e22c5a07"><td class="memSeparator" colspan="2">&#160;</td></tr>
  122. <tr class="memitem:aaf84c1bfaed3898a81e184c11d05988d" id="r_aaf84c1bfaed3898a81e184c11d05988d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_vec3.html">Vec3</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#aaf84c1bfaed3898a81e184c11d05988d">mPosition</a></td></tr>
  123. <tr class="memdesc:aaf84c1bfaed3898a81e184c11d05988d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Position of the sub shape. <br /></td></tr>
  124. <tr class="separator:aaf84c1bfaed3898a81e184c11d05988d"><td class="memSeparator" colspan="2">&#160;</td></tr>
  125. <tr class="memitem:a865bfef885778f2221f8a4dccf0e941e" id="r_a865bfef885778f2221f8a4dccf0e941e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_quat.html">Quat</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a865bfef885778f2221f8a4dccf0e941e">mRotation</a></td></tr>
  126. <tr class="memdesc:a865bfef885778f2221f8a4dccf0e941e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Rotation of the sub shape. <br /></td></tr>
  127. <tr class="separator:a865bfef885778f2221f8a4dccf0e941e"><td class="memSeparator" colspan="2">&#160;</td></tr>
  128. <tr class="memitem:a05791518abbef530de3bc631efa4d8dc" id="r_a05791518abbef530de3bc631efa4d8dc"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_core_8h.html#a8f95e75e58492e87412191fabadd8ca8">uint32</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a05791518abbef530de3bc631efa4d8dc">mUserData</a> = 0</td></tr>
  129. <tr class="separator:a05791518abbef530de3bc631efa4d8dc"><td class="memSeparator" colspan="2">&#160;</td></tr>
  130. </table>
  131. <h2 class="groupheader">Member Data Documentation</h2>
  132. <a id="aaf84c1bfaed3898a81e184c11d05988d" name="aaf84c1bfaed3898a81e184c11d05988d"></a>
  133. <h2 class="memtitle"><span class="permalink"><a href="#aaf84c1bfaed3898a81e184c11d05988d">&#9670;&#160;</a></span>mPosition</h2>
  134. <div class="memitem">
  135. <div class="memproto">
  136. <table class="memname">
  137. <tr>
  138. <td class="memname"><a class="el" href="class_vec3.html">Vec3</a> CompoundShapeSettings::SubShapeSettings::mPosition</td>
  139. </tr>
  140. </table>
  141. </div><div class="memdoc">
  142. <p>Position of the sub shape. </p>
  143. </div>
  144. </div>
  145. <a id="a865bfef885778f2221f8a4dccf0e941e" name="a865bfef885778f2221f8a4dccf0e941e"></a>
  146. <h2 class="memtitle"><span class="permalink"><a href="#a865bfef885778f2221f8a4dccf0e941e">&#9670;&#160;</a></span>mRotation</h2>
  147. <div class="memitem">
  148. <div class="memproto">
  149. <table class="memname">
  150. <tr>
  151. <td class="memname"><a class="el" href="class_quat.html">Quat</a> CompoundShapeSettings::SubShapeSettings::mRotation</td>
  152. </tr>
  153. </table>
  154. </div><div class="memdoc">
  155. <p>Rotation of the sub shape. </p>
  156. </div>
  157. </div>
  158. <a id="aa79a4e31ee31e2d2760a15e01de76a71" name="aa79a4e31ee31e2d2760a15e01de76a71"></a>
  159. <h2 class="memtitle"><span class="permalink"><a href="#aa79a4e31ee31e2d2760a15e01de76a71">&#9670;&#160;</a></span>mShape</h2>
  160. <div class="memitem">
  161. <div class="memproto">
  162. <table class="memname">
  163. <tr>
  164. <td class="memname"><a class="el" href="class_ref_const.html">RefConst</a>&lt;<a class="el" href="class_shape_settings.html">ShapeSettings</a>&gt; CompoundShapeSettings::SubShapeSettings::mShape</td>
  165. </tr>
  166. </table>
  167. </div><div class="memdoc">
  168. <p>Sub shape (either this or mShapePtr needs to be filled up) </p>
  169. </div>
  170. </div>
  171. <a id="ae1a012a16565000879fbe836e22c5a07" name="ae1a012a16565000879fbe836e22c5a07"></a>
  172. <h2 class="memtitle"><span class="permalink"><a href="#ae1a012a16565000879fbe836e22c5a07">&#9670;&#160;</a></span>mShapePtr</h2>
  173. <div class="memitem">
  174. <div class="memproto">
  175. <table class="memname">
  176. <tr>
  177. <td class="memname"><a class="el" href="class_ref_const.html">RefConst</a>&lt;<a class="el" href="class_shape.html">Shape</a>&gt; CompoundShapeSettings::SubShapeSettings::mShapePtr</td>
  178. </tr>
  179. </table>
  180. </div><div class="memdoc">
  181. <p>Sub shape (either this or mShape needs to be filled up) </p>
  182. </div>
  183. </div>
  184. <a id="a05791518abbef530de3bc631efa4d8dc" name="a05791518abbef530de3bc631efa4d8dc"></a>
  185. <h2 class="memtitle"><span class="permalink"><a href="#a05791518abbef530de3bc631efa4d8dc">&#9670;&#160;</a></span>mUserData</h2>
  186. <div class="memitem">
  187. <div class="memproto">
  188. <table class="memname">
  189. <tr>
  190. <td class="memname"><a class="el" href="_core_8h.html#a8f95e75e58492e87412191fabadd8ca8">uint32</a> CompoundShapeSettings::SubShapeSettings::mUserData = 0</td>
  191. </tr>
  192. </table>
  193. </div><div class="memdoc">
  194. <p>User data value (can be used by the application for any purpose). Note this value can be retrieved through GetSubShape(...).mUserData, not through GetSubShapeUserData(...) as that returns <a class="el" href="class_shape.html#a7146c658ddb5c7b0fec4489535ca664f" title="User data (to be used freely by the application)">Shape::GetUserData()</a> of the leaf shape. Use GetSubShapeIndexFromID get a shape index from a <a class="el" href="class_sub_shape_i_d.html" title="A sub shape id contains a path to an element (usually a triangle or other primitive type) of a compou...">SubShapeID</a> to pass to GetSubShape. </p>
  195. </div>
  196. </div>
  197. <hr/>The documentation for this struct was generated from the following file:<ul>
  198. <li>Jolt/Physics/Collision/Shape/<a class="el" href="_compound_shape_8h_source.html">CompoundShape.h</a></li>
  199. </ul>
  200. </div><!-- contents -->
  201. </div><!-- doc-content -->
  202. <!-- start footer part -->
  203. <div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  204. <ul>
  205. <li class="navelem"><a class="el" href="class_compound_shape_settings.html">CompoundShapeSettings</a></li><li class="navelem"><a class="el" href="struct_compound_shape_settings_1_1_sub_shape_settings.html">SubShapeSettings</a></li>
  206. <li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.12.0 </li>
  207. </ul>
  208. </div>
  209. </body>
  210. </html>