From 3dfe2108cfab31ba3ee5527e217d0d8e99a51162 Mon Sep 17 00:00:00 2001 From: git perforce import user Date: Tue, 25 Oct 2016 12:29:14 -0600 Subject: Initial commit: PhysX 3.4.0 Update @ 21294896 APEX 1.4.0 Update @ 21275617 [CL 21300167] --- .../PhysXAPI/files/structPxCombineMode.html | 99 ++++++++++++++++++++++ 1 file changed, 99 insertions(+) create mode 100644 PhysX_3.4/Documentation/PhysXAPI/files/structPxCombineMode.html (limited to 'PhysX_3.4/Documentation/PhysXAPI/files/structPxCombineMode.html') diff --git a/PhysX_3.4/Documentation/PhysXAPI/files/structPxCombineMode.html b/PhysX_3.4/Documentation/PhysXAPI/files/structPxCombineMode.html new file mode 100644 index 00000000..e20c67a4 --- /dev/null +++ b/PhysX_3.4/Documentation/PhysXAPI/files/structPxCombineMode.html @@ -0,0 +1,99 @@ + + + NVIDIA(R) PhysX(R) SDK 3.4 API Reference: PxCombineMode Struct Reference + + + + + + + +
+

PxCombineMode Struct Reference
+ +[Physics] +

enumeration that determines the way in which two material properties will be combined to yield a friction or restitution coefficient for a collision. +More... +

+#include <PxMaterial.h> +

+ +

+List of all members. + + + + +

Public Types

enum  Enum {
+  eAVERAGE = 0, +
+  eMIN = 1, +
+  eMULTIPLY = 2, +
+  eMAX = 3, +
+  eN_VALUES = 4, +
+  ePAD_32 = 0x7fffffff +
+ }
+


Detailed Description

+enumeration that determines the way in which two material properties will be combined to yield a friction or restitution coefficient for a collision. +

+When two actors come in contact with each other, they each have materials with various coefficients, but we only need a single set of coefficients for the pair.

+Physics doesn't have any inherent combinations because the coefficients are determined empirically on a case by case basis. However, simulating this with a pairwise lookup table is often impractical.

+For this reason the following combine behaviors are available:

+eAVERAGE eMIN eMULTIPLY eMAX

+The effective combine mode for the pair is maximum(material0.combineMode, material1.combineMode).

+

See also:
PxMaterial.setFrictionCombineMode() PxMaterial.getFrictionCombineMode() PxMaterial.setRestitutionCombineMode() PxMaterial.getFrictionCombineMode()
+

Member Enumeration Documentation

+ +
+
+ + + + +
enum PxCombineMode::Enum
+
+
+ +

+

Enumerator:
+ + + + + + + +
eAVERAGE  +Average: (a + b)/2.
eMIN  +Minimum: minimum(a,b).
eMULTIPLY  +Multiply: a*b.
eMAX  +Maximum: maximum(a,b).
eN_VALUES  +This is not a valid combine mode, it is a sentinel to denote the number of possible values. We assert that the variable's value is smaller than this.
ePAD_32  +This is not a valid combine mode, it is to assure that the size of the enum type is big enough.
+
+ +
+

+


The documentation for this struct was generated from the following file: +
+ +

+Copyright © 2008-2016 NVIDIA Corporation, 2701 San Tomas Expressway, Santa Clara, CA 95050 U.S.A. All rights reserved. www.nvidia.com + + -- cgit v1.2.3