NVIDIA(R) PhysX(R) SDK 3.4 API Reference: PxQueryFlag Struct Reference

NVIDIA PhysX SDK 3.4 API

PxQueryFlag Struct Reference
[Scenequery]

Filtering flags for scene queries. More...

#include <PxQueryFiltering.h>

List of all members.


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)
}

Detailed Description

Filtering flags for scene queries.

See also:
PxQueryFilterData.flags

Member Enumeration Documentation

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.


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



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