Classes | |
class | PxBatchQuery |
Batched queries object. This is used to perform several queries at the same time. More... | |
struct | PxQueryFlag |
Filtering flags for scene queries. More... | |
struct | PxQueryHitType |
Classification of scene query hits (intersections). More... | |
struct | PxQueryFilterData |
Scene query filtering data. More... | |
class | PxQueryFilterCallback |
Scene query filtering callbacks. More... | |
struct | PxHitFlag |
Scene query and geometry query behavior flags. More... | |
struct | PxActorShape |
Combines a shape pointer and the actor the shape belongs to into one memory location. More... | |
struct | PxQueryHit |
Scene query hit information. More... | |
struct | PxLocationHit |
Scene query hit information for raycasts and sweeps returning hit position and normal information. More... | |
struct | PxRaycastHit |
Stores results of raycast queries. More... | |
struct | PxOverlapHit |
Stores results of overlap queries. More... | |
struct | PxSweepHit |
Stores results of sweep queries. More... | |
struct | PxHitCallback< HitType > |
This callback class facilitates reporting scene query hits (intersections) to the user. More... | |
struct | PxHitBuffer< HitType > |
Returns scene query hits (intersections) to the user in a preallocated buffer. More... | |
struct | PxRaycastBufferN< N > |
Returns touching raycast hits to the user in a fixed size array embedded in the buffer class. More... | |
struct | PxOverlapBufferN< N > |
Returns touching overlap hits to the user in a fixed size array embedded in the buffer class. More... | |
struct | PxSweepBufferN< N > |
Returns touching sweep hits to the user in a fixed size array embedded in the buffer class. More... | |
Macros | |
#define | PxSceneQueryFilterFlag PxQueryFlag |
#define | PxSceneQueryFilterFlags PxQueryFlags |
#define | PxSceneQueryHitType PxQueryHitType |
#define | PxSceneQueryFilterData PxQueryFilterData |
#define | PxSceneQueryFilterCallback PxQueryFilterCallback |
Deprecated define for backwards compatibility with PhysX 3.2. More... | |
#define | PxSceneQueryFlag PxHitFlag |
collection of set bits defined in PxHitFlag. More... | |
#define | PxSceneQueryFlags PxHitFlags |
#define | PxSceneQueryHit PxQueryHit |
Typedefs | |
typedef PxFlags < PxQueryFlag::Enum, PxU16 > | PxQueryFlags |
Flags typedef for the set of bits defined in PxQueryFlag. More... | |
typedef PxQueryHitType::Enum(* | PxBatchQueryPreFilterShader )(PxFilterData queryFilterData, PxFilterData objectFilterData, const void *constantBlock, PxU32 constantBlockSize, PxHitFlags &hitFlags) |
Batched query pre-filter shader. More... | |
typedef PxQueryHitType::Enum(* | PxBatchQueryPostFilterShader )(PxFilterData queryFilterData, PxFilterData objectFilterData, const void *constantBlock, PxU32 constantBlockSize, const PxQueryHit &hit) |
Batched query post-filter shader. More... | |
typedef bool | PxAgain |
Describes query behavior after returning a partial query result via a callback. More... | |
typedef PxHitCallback < PxRaycastHit > | PxRaycastCallback |
Raycast query callback. More... | |
typedef PxHitCallback < PxOverlapHit > | PxOverlapCallback |
Overlap query callback. More... | |
typedef PxHitCallback< PxSweepHit > | PxSweepCallback |
Sweep query callback. More... | |
typedef PxHitBuffer< PxRaycastHit > | PxRaycastBuffer |
Raycast query buffer. More... | |
typedef PxHitBuffer< PxOverlapHit > | PxOverlapBuffer |
Overlap query buffer. More... | |
typedef PxHitBuffer< PxSweepHit > | PxSweepBuffer |
Sweep query buffer. More... | |
Functions | |
PX_COMPILE_TIME_ASSERT (PxQueryFlag::eSTATIC==(1<< 0)) | |
PX_COMPILE_TIME_ASSERT (PxQueryFlag::eDYNAMIC==(1<< 1)) | |
#define PxSceneQueryFilterCallback PxQueryFilterCallback |
Deprecated define for backwards compatibility with PhysX 3.2.
#define PxSceneQueryFilterData PxQueryFilterData |
Referenced by PxScene::overlapAny(), PxScene::raycastAny(), and PxScene::sweepAny().
#define PxSceneQueryFilterFlag PxQueryFlag |
#define PxSceneQueryFilterFlags PxQueryFlags |
#define PxSceneQueryFlag PxHitFlag |
collection of set bits defined in PxHitFlag.
#define PxSceneQueryFlags PxHitFlags |
#define PxSceneQueryHit PxQueryHit |
#define PxSceneQueryHitType PxQueryHitType |
typedef bool PxAgain |
Describes query behavior after returning a partial query result via a callback.
If callback returns true, traversal will continue and callback can be issued again. If callback returns false, traversal will stop, callback will not be issued again.
typedef PxQueryHitType::Enum(* PxBatchQueryPostFilterShader)(PxFilterData queryFilterData, PxFilterData objectFilterData, const void *constantBlock, PxU32 constantBlockSize, const PxQueryHit &hit) |
Batched query post-filter shader.
Custom filtering logic for batched query intersection candidates. If an intersection candidate object passes the data based filter (see PxQueryFilterData), the filtering shader run on request (see PxQueryFilterData.flags)
Filtering shaders are not in order along the query direction, rather they are processed in the order in which candidate shapes for testing are found by PhysX' scene traversal algorithms.
[in] | queryFilterData | Query filter data |
[in] | objectFilterData | Object filter data |
[in] | constantBlock | Global constant filter data (see PxBatchQuery) |
[in] | constantBlockSize | Size of global filter data (see PxBatchQuery) |
[in] | hit | Hit data from the prior exact intersection test. |
typedef PxQueryHitType::Enum(* PxBatchQueryPreFilterShader)(PxFilterData queryFilterData, PxFilterData objectFilterData, const void *constantBlock, PxU32 constantBlockSize, PxHitFlags &hitFlags) |
Batched query pre-filter shader.
Custom filtering logic for batched query intersection candidates. If an intersection candidate object passes the data based filter (see PxQueryFilterData), filtering shader runs if specified in filtering flags (see PxQueryFilterData.flags)
The preFilter shader may overwrite the copy of queryFlags it receives as an argument to specify any of PxHitFlag::eMODIFIABLE_FLAGS on a per-shape basis. Changes apply only to the shape being filtered, and changes to other flags are ignored.
Filtering calls are not guaranteed to be sorted along the ray or sweep direction.
[in] | queryFilterData | Query filter data |
[in] | objectFilterData | Object filter data |
[in] | constantBlock | Global constant filter data (see PxBatchQuery) |
[in] | constantBlockSize | Size of global filter data (see PxBatchQuery) |
[in,out] | hitFlags | Per-object modifiable hit flags (only flags from PxHitFlag::eMODIFIABLE_FLAGS mask can be modified) |
typedef PxHitBuffer<PxOverlapHit> PxOverlapBuffer |
Overlap query buffer.
typedef PxHitCallback<PxOverlapHit> PxOverlapCallback |
Overlap query callback.
typedef PxFlags<PxQueryFlag::Enum,PxU16> PxQueryFlags |
Flags typedef for the set of bits defined in PxQueryFlag.
typedef PxHitBuffer<PxRaycastHit> PxRaycastBuffer |
Raycast query buffer.
typedef PxHitCallback<PxRaycastHit> PxRaycastCallback |
Raycast query callback.
typedef PxHitBuffer<PxSweepHit> PxSweepBuffer |
Sweep query buffer.
typedef PxHitCallback<PxSweepHit> PxSweepCallback |
Sweep query callback.
PX_COMPILE_TIME_ASSERT | ( | PxQueryFlag::eSTATIC | = =(1<< 0) | ) |
PX_COMPILE_TIME_ASSERT | ( | PxQueryFlag::eDYNAMIC | = =(1<< 1) | ) |