PxQueryFilterData Struct Reference

Scene query filtering data. More...

#include <PxQueryFiltering.h>

Collaboration diagram for PxQueryFilterData:

Public Member Functions

PX_INLINE PxQueryFilterData ()
 default constructor More...
 
PX_INLINE PxQueryFilterData (const PxFilterData &fd, PxQueryFlags f)
 constructor to set both filter data and filter flags More...
 
PX_INLINE PxQueryFilterData (PxQueryFlags f)
 constructor to set filter flags only More...
 

Public Attributes

PxFilterData data
 Filter data associated with the scene query. More...
 
PxQueryFlags flags
 Filter flags (see PxQueryFlags) More...
 

Detailed Description

Scene query filtering data.

Whenever the scene query intersects a shape, filtering is performed in the following order:

See also
PxScene.raycast PxScene.sweep PxScene.overlap PxBatchQuery.raycast PxBatchQuery.sweep PxBatchQuery.overlap PxQueryFlag::eANY_HIT

Constructor & Destructor Documentation

◆ PxQueryFilterData() [1/3]

PX_INLINE PxQueryFilterData::PxQueryFilterData ( )
inlineexplicit

default constructor

◆ PxQueryFilterData() [2/3]

PX_INLINE PxQueryFilterData::PxQueryFilterData ( const PxFilterData fd,
PxQueryFlags  f 
)
inlineexplicit

constructor to set both filter data and filter flags

◆ PxQueryFilterData() [3/3]

PX_INLINE PxQueryFilterData::PxQueryFilterData ( PxQueryFlags  f)
inlineexplicit

constructor to set filter flags only

Member Data Documentation

◆ data

PxFilterData PxQueryFilterData::data

Filter data associated with the scene query.

◆ flags

PxQueryFlags PxQueryFilterData::flags

Filter flags (see PxQueryFlags)


The documentation for this struct was generated from the following file: