NVIDIA(R) PhysX(R) SDK 3.4 API Reference: PxFilterData Struct Reference

NVIDIA PhysX SDK 3.4 API

PxFilterData Struct Reference
[Physics]

PxFilterData is user-definable data which gets passed into the collision filtering shader and/or callback. More...

#include <PxFiltering.h>

List of all members.


Public Member Functions

PX_INLINE PxFilterData (const PxEMPTY)
PX_INLINE PxFilterData ()
 Default constructor.
PX_INLINE PxFilterData (PxU32 w0, PxU32 w1, PxU32 w2, PxU32 w3)
 Constructor to set filter data initially.
PX_INLINE void setToDefault ()
 (re)sets the structure to the default.
PX_INLINE bool operator== (const PxFilterData &a) const
 Comparison operator to allow use in Array.
PX_INLINE bool operator!= (const PxFilterData &a) const
 Comparison operator to allow use in Array.

Public Attributes

PxU32 word0
PxU32 word1
PxU32 word2
PxU32 word3

Detailed Description

PxFilterData is user-definable data which gets passed into the collision filtering shader and/or callback.

See also:
PxShape.setSimulationFilterData() PxShape.getSimulationFilterData() PxSimulationFilterShader PxSimulationFilterCallback

Constructor & Destructor Documentation

PX_INLINE PxFilterData::PxFilterData ( const   PxEMPTY  )  [inline]

PX_INLINE PxFilterData::PxFilterData (  )  [inline]

Default constructor.

PX_INLINE PxFilterData::PxFilterData ( PxU32  w0,
PxU32  w1,
PxU32  w2,
PxU32  w3 
) [inline]

Constructor to set filter data initially.


Member Function Documentation

PX_INLINE bool PxFilterData::operator!= ( const PxFilterData a  )  const [inline]

Comparison operator to allow use in Array.

PX_INLINE bool PxFilterData::operator== ( const PxFilterData a  )  const [inline]

Comparison operator to allow use in Array.

References word0, word1, word2, and word3.

PX_INLINE void PxFilterData::setToDefault (  )  [inline]

(re)sets the structure to the default.


Member Data Documentation


The documentation for this struct 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