aboutsummaryrefslogtreecommitdiff
path: root/PhysX_3.4/Documentation/PhysXAPI/files/PxMaterial_8h-source.html
diff options
context:
space:
mode:
authorgit perforce import user <a@b>2016-10-25 12:29:14 -0600
committerSheikh Dawood Abdul Ajees <Sheikh Dawood Abdul Ajees>2016-10-25 18:56:37 -0500
commit3dfe2108cfab31ba3ee5527e217d0d8e99a51162 (patch)
treefa6485c169e50d7415a651bf838f5bcd0fd3bfbd /PhysX_3.4/Documentation/PhysXAPI/files/PxMaterial_8h-source.html
downloadphysx-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/PxMaterial_8h-source.html')
-rw-r--r--PhysX_3.4/Documentation/PhysXAPI/files/PxMaterial_8h-source.html153
1 files changed, 153 insertions, 0 deletions
diff --git a/PhysX_3.4/Documentation/PhysXAPI/files/PxMaterial_8h-source.html b/PhysX_3.4/Documentation/PhysXAPI/files/PxMaterial_8h-source.html
new file mode 100644
index 00000000..29837d67
--- /dev/null
+++ b/PhysX_3.4/Documentation/PhysXAPI/files/PxMaterial_8h-source.html
@@ -0,0 +1,153 @@
+<html>
+ <head>
+ <title>NVIDIA(R) PhysX(R) SDK 3.4 API Reference: PxMaterial.h Source File</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 -->
+<h1>PxMaterial.h</h1><a href="PxMaterial_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">// This code contains NVIDIA Confidential Information and is disclosed to you</span>
+<a name="l00002"></a>00002 <span class="comment">// under a form of NVIDIA software license agreement provided separately to you.</span>
+<a name="l00003"></a>00003 <span class="comment">//</span>
+<a name="l00004"></a>00004 <span class="comment">// Notice</span>
+<a name="l00005"></a>00005 <span class="comment">// NVIDIA Corporation and its licensors retain all intellectual property and</span>
+<a name="l00006"></a>00006 <span class="comment">// proprietary rights in and to this software and related documentation and</span>
+<a name="l00007"></a>00007 <span class="comment">// any modifications thereto. Any use, reproduction, disclosure, or</span>
+<a name="l00008"></a>00008 <span class="comment">// distribution of this software and related documentation without an express</span>
+<a name="l00009"></a>00009 <span class="comment">// license agreement from NVIDIA Corporation is strictly prohibited.</span>
+<a name="l00010"></a>00010 <span class="comment">//</span>
+<a name="l00011"></a>00011 <span class="comment">// ALL NVIDIA DESIGN SPECIFICATIONS, CODE ARE PROVIDED "AS IS.". NVIDIA MAKES</span>
+<a name="l00012"></a>00012 <span class="comment">// NO WARRANTIES, EXPRESSED, IMPLIED, STATUTORY, OR OTHERWISE WITH RESPECT TO</span>
+<a name="l00013"></a>00013 <span class="comment">// THE MATERIALS, AND EXPRESSLY DISCLAIMS ALL IMPLIED WARRANTIES OF NONINFRINGEMENT,</span>
+<a name="l00014"></a>00014 <span class="comment">// MERCHANTABILITY, AND FITNESS FOR A PARTICULAR PURPOSE.</span>
+<a name="l00015"></a>00015 <span class="comment">//</span>
+<a name="l00016"></a>00016 <span class="comment">// Information and code furnished is believed to be accurate and reliable.</span>
+<a name="l00017"></a>00017 <span class="comment">// However, NVIDIA Corporation assumes no responsibility for the consequences of use of such</span>
+<a name="l00018"></a>00018 <span class="comment">// information or for any infringement of patents or other rights of third parties that may</span>
+<a name="l00019"></a>00019 <span class="comment">// result from its use. No license is granted by implication or otherwise under any patent</span>
+<a name="l00020"></a>00020 <span class="comment">// or patent rights of NVIDIA Corporation. Details are subject to change without notice.</span>
+<a name="l00021"></a>00021 <span class="comment">// This code supersedes and replaces all information previously supplied.</span>
+<a name="l00022"></a>00022 <span class="comment">// NVIDIA Corporation products are not authorized for use as critical</span>
+<a name="l00023"></a>00023 <span class="comment">// components in life support devices or systems without express written approval of</span>
+<a name="l00024"></a>00024 <span class="comment">// NVIDIA Corporation.</span>
+<a name="l00025"></a>00025 <span class="comment">//</span>
+<a name="l00026"></a>00026 <span class="comment">// Copyright (c) 2008-2016 NVIDIA Corporation. All rights reserved.</span>
+<a name="l00027"></a>00027 <span class="comment">// Copyright (c) 2004-2008 AGEIA Technologies, Inc. All rights reserved.</span>
+<a name="l00028"></a>00028 <span class="comment">// Copyright (c) 2001-2004 NovodeX AG. All rights reserved. </span>
+<a name="l00029"></a>00029
+<a name="l00030"></a>00030
+<a name="l00031"></a>00031 <span class="preprocessor">#ifndef PX_PHYSICS_NXMATERIAL</span>
+<a name="l00032"></a>00032 <span class="preprocessor"></span><span class="preprocessor">#define PX_PHYSICS_NXMATERIAL</span>
+<a name="l00033"></a>00033 <span class="preprocessor"></span>
+<a name="l00037"></a>00037 <span class="preprocessor">#include "<a class="code" href="PxPhysXConfig_8h.html">PxPhysXConfig.h</a>"</span>
+<a name="l00038"></a>00038 <span class="preprocessor">#include "<a class="code" href="PxBase_8h.html">common/PxBase.h</a>"</span>
+<a name="l00039"></a>00039
+<a name="l00040"></a>00040 <span class="preprocessor">#if !PX_DOXYGEN</span>
+<a name="l00041"></a>00041 <span class="preprocessor"></span><span class="keyword">namespace </span>physx
+<a name="l00042"></a>00042 {
+<a name="l00043"></a>00043 <span class="preprocessor">#endif</span>
+<a name="l00044"></a>00044 <span class="preprocessor"></span>
+<a name="l00045"></a>00045 <span class="keyword">class </span><a class="code" href="classPxScene.html" title="A scene is a collection of bodies, particle systems and constraints which can interact...">PxScene</a>;
+<a name="l00046"></a>00046
+<a name="l00052"></a><a class="code" href="structPxMaterialFlag.html">00052</a> <span class="keyword">struct </span><a class="code" href="structPxMaterialFlag.html" title="Flags which control the behavior of a material.">PxMaterialFlag</a>
+<a name="l00053"></a>00053 {
+<a name="l00054"></a><a class="code" href="structPxMaterialFlag.html#0cbfebf648d620e4619a5a81b49cc298">00054</a> <span class="keyword">enum</span> <a class="code" href="structPxMaterialFlag.html#0cbfebf648d620e4619a5a81b49cc298">Enum</a>
+<a name="l00055"></a>00055 {
+<a name="l00056"></a>00056
+<a name="l00060"></a><a class="code" href="structPxMaterialFlag.html#0cbfebf648d620e4619a5a81b49cc298e7ac972a545dcab3eea1c3cc4e7f385a">00060</a> eDISABLE_FRICTION = 1 &lt;&lt; 0,
+<a name="l00061"></a>00061
+<a name="l00080"></a><a class="code" href="structPxMaterialFlag.html#0cbfebf648d620e4619a5a81b49cc2985226d9bd4d9fca36ed7f116e95ea987c">00080</a> eDISABLE_STRONG_FRICTION = 1 &lt;&lt; 1
+<a name="l00081"></a>00081 };
+<a name="l00082"></a>00082 };
+<a name="l00083"></a>00083
+<a name="l00089"></a><a class="code" href="group__physics.html#gacd9cb0f0e89fbbc09fec759b254d109">00089</a> <span class="keyword">typedef</span> <a class="code" href="classPxFlags.html" title="Container for bitfield flag variables associated with a specific enum type.">PxFlags&lt;PxMaterialFlag::Enum,PxU16&gt;</a> <a class="code" href="classPxFlags.html" title="Container for bitfield flag variables associated with a specific enum type.">PxMaterialFlags</a>;
+<a name="l00090"></a>00090 <a class="code" href="group__foundation.html#g092f922a63fdc7a95ae4f4e24b3768c1">PX_FLAGS_OPERATORS</a>(<a class="code" href="structPxMaterialFlag.html#0cbfebf648d620e4619a5a81b49cc298">PxMaterialFlag::Enum</a>,<a class="code" href="namespacephysx.html#9caf1cbcda071b6d2a9c069faa99da23">PxU16</a>)
+<a name="l00091"></a>00091
+<a name="l00092"></a>00092
+<a name="l00093"></a>00093
+<a name="l00112"></a><a class="code" href="structPxCombineMode.html">00112</a> struct <a class="code" href="structPxCombineMode.html" title="enumeration that determines the way in which two material properties will be combined...">PxCombineMode</a>
+<a name="l00113"></a>00113 {
+<a name="l00114"></a><a class="code" href="structPxCombineMode.html#7d586f7800efb63ee14c7a24e0eb6727">00114</a> <span class="keyword">enum</span> <a class="code" href="structPxCombineMode.html#7d586f7800efb63ee14c7a24e0eb6727">Enum</a>
+<a name="l00115"></a>00115 {
+<a name="l00116"></a><a class="code" href="structPxCombineMode.html#7d586f7800efb63ee14c7a24e0eb67272c12a95b4b7cde20d845c629be849c92">00116</a> eAVERAGE = 0,
+<a name="l00117"></a><a class="code" href="structPxCombineMode.html#7d586f7800efb63ee14c7a24e0eb67275020741270303f7e4253d8f646b18683">00117</a> eMIN = 1,
+<a name="l00118"></a><a class="code" href="structPxCombineMode.html#7d586f7800efb63ee14c7a24e0eb672770c797fd2ce4c8afde0e0c5054d5aa35">00118</a> eMULTIPLY = 2,
+<a name="l00119"></a><a class="code" href="structPxCombineMode.html#7d586f7800efb63ee14c7a24e0eb6727e36f28e4a23a58e6a32b0b350bc834d1">00119</a> eMAX = 3,
+<a name="l00120"></a><a class="code" href="structPxCombineMode.html#7d586f7800efb63ee14c7a24e0eb6727bba784e2067e321833bc88759cdb0039">00120</a> eN_VALUES = 4,
+<a name="l00121"></a><a class="code" href="structPxCombineMode.html#7d586f7800efb63ee14c7a24e0eb67278aa4ff19d77a29323c9a1556dd85d71b">00121</a> ePAD_32 = 0x7fffffff
+<a name="l00122"></a>00122 };
+<a name="l00123"></a>00123 };
+<a name="l00124"></a>00124
+<a name="l00130"></a><a class="code" href="classPxMaterial.html">00130</a> <span class="keyword">class </span><a class="code" href="classPxMaterial.html" title="Material class to represent a set of surface properties.">PxMaterial</a> : <span class="keyword">public</span> <a class="code" href="classPxBase.html" title="Base class for objects that can be members of a PxCollection.">PxBase</a>
+<a name="l00131"></a>00131 {
+<a name="l00132"></a>00132 <span class="keyword">public</span>:
+<a name="l00133"></a>00133
+<a name="l00139"></a>00139 <span class="keyword">virtual</span> <span class="keywordtype">void</span> release() = 0;
+<a name="l00140"></a>00140
+<a name="l00149"></a>00149 <span class="keyword">virtual</span> <a class="code" href="namespacephysx.html#9b7fbd746d18bf5b6545713a8d818f41">PxU32</a> getReferenceCount() <span class="keyword">const</span> = 0;
+<a name="l00150"></a>00150
+<a name="l00156"></a>00156 <span class="keyword">virtual</span> <span class="keywordtype">void</span> acquireReference() = 0;
+<a name="l00157"></a>00157
+<a name="l00169"></a>00169 <span class="keyword">virtual</span> <span class="keywordtype">void</span> setDynamicFriction(<a class="code" href="namespacephysx.html#727d2d8426e2a21ebbc522fa65c3f97a">PxReal</a> coef) = 0;
+<a name="l00170"></a>00170
+<a name="l00178"></a>00178 <span class="keyword">virtual</span> <a class="code" href="namespacephysx.html#727d2d8426e2a21ebbc522fa65c3f97a">PxReal</a> getDynamicFriction() <span class="keyword">const</span> = 0;
+<a name="l00179"></a>00179
+<a name="l00191"></a>00191 <span class="keyword">virtual</span> <span class="keywordtype">void</span> setStaticFriction(<a class="code" href="namespacephysx.html#727d2d8426e2a21ebbc522fa65c3f97a">PxReal</a> coef) = 0;
+<a name="l00192"></a>00192
+<a name="l00199"></a>00199 <span class="keyword">virtual</span> <a class="code" href="namespacephysx.html#727d2d8426e2a21ebbc522fa65c3f97a">PxReal</a> getStaticFriction() <span class="keyword">const</span> = 0;
+<a name="l00200"></a>00200
+<a name="l00212"></a>00212 <span class="keyword">virtual</span> <span class="keywordtype">void</span> setRestitution(<a class="code" href="namespacephysx.html#727d2d8426e2a21ebbc522fa65c3f97a">PxReal</a> rest) = 0;
+<a name="l00213"></a>00213
+<a name="l00223"></a>00223 <span class="keyword">virtual</span> <a class="code" href="namespacephysx.html#727d2d8426e2a21ebbc522fa65c3f97a">PxReal</a> getRestitution() <span class="keyword">const</span> = 0;
+<a name="l00224"></a>00224
+<a name="l00236"></a>00236 <span class="keyword">virtual</span> <span class="keywordtype">void</span> setFlag(<a class="code" href="structPxMaterialFlag.html#0cbfebf648d620e4619a5a81b49cc298">PxMaterialFlag::Enum</a> flag, <span class="keywordtype">bool</span>) = 0;
+<a name="l00237"></a>00237
+<a name="l00238"></a>00238
+<a name="l00247"></a>00247 <span class="keyword">virtual</span> <span class="keywordtype">void</span> setFlags( <a class="code" href="classPxFlags.html" title="Container for bitfield flag variables associated with a specific enum type.">PxMaterialFlags</a> inFlags ) = 0;
+<a name="l00248"></a>00248
+<a name="l00256"></a>00256 <span class="keyword">virtual</span> <a class="code" href="classPxFlags.html" title="Container for bitfield flag variables associated with a specific enum type.">PxMaterialFlags</a> getFlags() <span class="keyword">const</span> = 0;
+<a name="l00257"></a>00257
+<a name="l00269"></a>00269 <span class="keyword">virtual</span> <span class="keywordtype">void</span> setFrictionCombineMode(<a class="code" href="structPxCombineMode.html#7d586f7800efb63ee14c7a24e0eb6727">PxCombineMode::Enum</a> combMode) = 0;
+<a name="l00270"></a>00270
+<a name="l00280"></a>00280 <span class="keyword">virtual</span> <a class="code" href="structPxCombineMode.html#7d586f7800efb63ee14c7a24e0eb6727">PxCombineMode::Enum</a> getFrictionCombineMode() <span class="keyword">const</span> = 0;
+<a name="l00281"></a>00281
+<a name="l00293"></a>00293 <span class="keyword">virtual</span> <span class="keywordtype">void</span> setRestitutionCombineMode(<a class="code" href="structPxCombineMode.html#7d586f7800efb63ee14c7a24e0eb6727">PxCombineMode::Enum</a> combMode) = 0;
+<a name="l00294"></a>00294
+<a name="l00304"></a>00304 <span class="keyword">virtual</span> <a class="code" href="structPxCombineMode.html#7d586f7800efb63ee14c7a24e0eb6727">PxCombineMode::Enum</a> getRestitutionCombineMode() <span class="keyword">const</span> = 0;
+<a name="l00305"></a>00305
+<a name="l00306"></a>00306 <span class="comment">//public variables:</span>
+<a name="l00307"></a><a class="code" href="classPxMaterial.html#462f7d7aa49aec69871bbf066632a5d4">00307</a> <span class="keywordtype">void</span>* userData;
+<a name="l00308"></a>00308
+<a name="l00309"></a><a class="code" href="classPxMaterial.html#1a6bbe6443abf57f9b81104cae070e4c">00309</a> <span class="keyword">virtual</span> <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="classPxMaterial.html#1a6bbe6443abf57f9b81104cae070e4c" title="Returns string name of dynamic type.">getConcreteTypeName</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <span class="stringliteral">"PxMaterial"</span>; }
+<a name="l00310"></a>00310
+<a name="l00311"></a>00311 <span class="keyword">protected</span>:
+<a name="l00312"></a><a class="code" href="classPxMaterial.html#9f402b870b0729455ba8199b46a0fccd">00312</a> <a class="code" href="group__foundation.html#gcb03347b642a2a5bdea1f9b305a6fbec">PX_INLINE</a> <a class="code" href="classPxMaterial.html#9f402b870b0729455ba8199b46a0fccd">PxMaterial</a>(<a class="code" href="group__common.html#gc1fb4b256a5d900d394e89db170a2b79">PxType</a> concreteType, <a class="code" href="classPxFlags.html">PxBaseFlags</a> baseFlags) : <a class="code" href="classPxBase.html" title="Base class for objects that can be members of a PxCollection.">PxBase</a>(concreteType, baseFlags), userData(NULL) {}
+<a name="l00313"></a><a class="code" href="classPxMaterial.html#f307774d0f072ac743621419a5d7c1a7">00313</a> <a class="code" href="group__foundation.html#gcb03347b642a2a5bdea1f9b305a6fbec">PX_INLINE</a> <a class="code" href="classPxMaterial.html#f307774d0f072ac743621419a5d7c1a7">PxMaterial</a>(<a class="code" href="classPxFlags.html">PxBaseFlags</a> baseFlags) : <a class="code" href="classPxBase.html" title="Base class for objects that can be members of a PxCollection.">PxBase</a>(baseFlags) {}
+<a name="l00314"></a><a class="code" href="classPxMaterial.html#f304d5eda8ffb0d1afeada9a98186c0a">00314</a> <span class="keyword">virtual</span> <a class="code" href="classPxMaterial.html#f304d5eda8ffb0d1afeada9a98186c0a">~PxMaterial</a>() {}
+<a name="l00315"></a><a class="code" href="classPxMaterial.html#51a36ceb87a3713a997e498b012e9ebd">00315</a> <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classPxMaterial.html#51a36ceb87a3713a997e498b012e9ebd" title="Returns whether a given type name matches with the type of this instance.">isKindOf</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* name)<span class="keyword"> const </span>{ <span class="keywordflow">return</span> !::strcmp(<span class="stringliteral">"PxMaterial"</span>, name) || <a class="code" href="classPxBase.html#ae9d444c7cfd1715a101350a1b1226ef" title="Returns whether a given type name matches with the type of this instance.">PxBase::isKindOf</a>(name); }
+<a name="l00316"></a>00316
+<a name="l00317"></a>00317 };
+<a name="l00318"></a>00318
+<a name="l00319"></a>00319 <span class="preprocessor">#if !PX_DOXYGEN</span>
+<a name="l00320"></a>00320 <span class="preprocessor"></span>} <span class="comment">// namespace physx</span>
+<a name="l00321"></a>00321 <span class="preprocessor">#endif</span>
+<a name="l00322"></a>00322 <span class="preprocessor"></span>
+<a name="l00324"></a>00324 <span class="preprocessor">#endif</span>
+</pre></div></div>
+
+<hr style="width: 100%; height: 2px;"><br>
+Copyright &copy; 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>