◆ postFilter()
This filter callback is executed if the exact intersection test returned true and PxQueryFlag::ePOSTFILTER flag was set.
- Parameters
-
| [in] | filterData | custom filter data of the query |
| [in] | hit | Scene query hit information. faceIndex member is not valid for overlap queries. For sweep and raycast queries the hit information can be cast to #PxSweepHit and #PxRaycastHit respectively. |
| [in] | shape | Hit shape |
| [in] | actor | Hit actor |
- Returns
- the updated hit type for this hit (see #PxQueryHitType)
Reimplemented from physx::PxQueryFilterCallback.
◆ preFilter()
This filter callback is executed before the exact intersection test if PxQueryFlag::ePREFILTER flag was set.
- Parameters
-
| [in] | filterData | custom filter data specified as the query's filterData.data parameter. |
| [in] | shape | A shape that has not yet passed the exact intersection test. |
| [in] | actor | The shape's actor. |
| [in,out] | queryFlags | scene query flags from the query's function call (only flags from PxHitFlag::eMODIFIABLE_FLAGS bitmask can be modified) |
- Returns
- the updated type for this hit (see #PxQueryHitType)
Implements physx::PxQueryFilterCallback.
The documentation for this class was generated from the following file:
- RavEngine/deps/physx/physx/source/physxextensions/src/ExtRaycastCCD.cpp