PxGroupsMask Class Reference
[Extensions]
64-bit mask used for collision filtering.
More...
#include <PxDefaultSimulationFilterShader.h>
Public Member Functions | |
PX_INLINE | PxGroupsMask () |
PX_INLINE | ~PxGroupsMask () |
Public Attributes | |
PxU16 | bits0 |
PxU16 | bits1 |
PxU16 | bits2 |
PxU16 | bits3 |
Detailed Description
64-bit mask used for collision filtering.The collision filtering equation for 2 objects o0 and o1 is:
(G0 op0 K0) op2 (G1 op1 K1) == b
with
- G0 = PxGroupsMask for object o0. See PxSetGroupsMask
- G1 = PxGroupsMask for object o1. See PxSetGroupsMask
- K0 = filtering constant 0. See PxSetFilterConstants
- K1 = filtering constant 1. See PxSetFilterConstants
- b = filtering boolean. See PxSetFilterBool
- op0, op1, op2 = filtering operations. See PxSetFilterOps
If the filtering equation is true, collision detection is enabled.
- See also:
- PxSetFilterOps()
Constructor & Destructor Documentation
PX_INLINE PxGroupsMask::PxGroupsMask | ( | ) | [inline] |
PX_INLINE PxGroupsMask::~PxGroupsMask | ( | ) | [inline] |
Member Data Documentation
PxU16 PxGroupsMask::bits0 |
PxU16 PxGroupsMask::bits1 |
PxU16 PxGroupsMask::bits2 |
PxU16 PxGroupsMask::bits3 |
The documentation for this class was generated from the following file:
Copyright © 2008-2017 NVIDIA Corporation, 2701 San Tomas Expressway, Santa Clara, CA 95050 U.S.A. All rights reserved. www.nvidia.com