Filtering flags for scene queries. More...
#include <PxQueryFiltering.h>
Public Types | |
| enum | Enum { eSTATIC = (1<<0), eDYNAMIC = (1<<1), ePREFILTER = (1<<2), ePOSTFILTER = (1<<3), eANY_HIT = (1<<4), eNO_BLOCK = (1<<5), eRESERVED = (1<<15) } |
Filtering flags for scene queries.
| enum PxQueryFlag::Enum |
| Enumerator | |
|---|---|
| eSTATIC |
Traverse static shapes. |
| eDYNAMIC |
Traverse dynamic shapes. |
| ePREFILTER |
Run the pre-intersection-test filter (see PxQueryFilterCallback::preFilter()) |
| ePOSTFILTER |
Run the post-intersection-test filter (see PxQueryFilterCallback::postFilter()) |
| eANY_HIT |
Abort traversal as soon as any hit is found and return it via callback.block. Helps query performance. Both eTOUCH and eBLOCK hitTypes are considered hits with this flag. |
| eNO_BLOCK |
All hits are reported as touching. Overrides eBLOCK returned from user filters with eTOUCH. This is also an optimization hint that may improve query performance. |
| eRESERVED |
Reserved for internal use. |