PxFilterData

Defined in include/PxFiltering.h

struct PxFilterData

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

See also

PxShape.setSimulationFilterData() PxShape.getSimulationFilterData() PxSimulationFilterShader PxSimulationFilterCallback

Public Functions

inline PxFilterData(const PxEMPTY)
inline PxFilterData()

Default constructor.

inline PxFilterData(const PxFilterData &fd)

Copy constructor.

inline PxFilterData(PxU32 w0, PxU32 w1, PxU32 w2, PxU32 w3)

Constructor to set filter data initially.

inline void setToDefault()

(re)sets the structure to the default.

inline void operator=(const PxFilterData &fd)

Assignment operator.

inline bool operator==(const PxFilterData &a) const

Comparison operator to allow use in Array.

inline bool operator!=(const PxFilterData &a) const

Comparison operator to allow use in Array.

Public Members

PxU32 word0
PxU32 word1
PxU32 word2
PxU32 word3