PxQueryFilterData Struct Reference
[Scenequery]

Scene query filtering data. More...

#include <PxQueryFiltering.h>

Collaboration diagram for PxQueryFilterData:

Collaboration graph
PxFlags\< PxQueryFlag::Enum, PxU16 \>PxFilterData
[legend]

List of all members.

Public Member Functions

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

Public Attributes

PxFilterData data
 Filter data associated with the scene query.
PxQueryFlags flags
 Filter flags (see PxQueryFlags).
PX_DEPRECATED PxClientID clientId
 ID of the client doing the query (see PxScene.createClient()).


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

PX_INLINE PxQueryFilterData::PxQueryFilterData (  )  [inline, explicit]

default constructor

PX_INLINE PxQueryFilterData::PxQueryFilterData ( const PxFilterData fd,
PxQueryFlags  f 
) [inline, explicit]

constructor to set both filter data and filter flags

PX_INLINE PxQueryFilterData::PxQueryFilterData ( PxQueryFlags  f  )  [inline, explicit]

constructor to set filter flags only


Member Data Documentation

ID of the client doing the query (see PxScene.createClient()).

Filter data associated with the scene query.

Filter flags (see PxQueryFlags).


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


Copyright © 2008-2018 NVIDIA Corporation, 2701 San Tomas Expressway, Santa Clara, CA 95050 U.S.A. All rights reserved. www.nvidia.com