PhysX SDK 3.2 API Reference: PxSceneQueryHitType Struct Reference

PhysX SDK 3.2 API

PxSceneQueryHitType Struct Reference
[Scenequery]

Classification of scene query hits. More...

#include <PxSceneQueryFiltering.h>

List of all members.


Public Types

enum  Enum {
  eNONE = 0,
  eTOUCH = 1,
  eBLOCK = 2
}

Detailed Description

Classification of scene query hits.

A hit type of eNONE means that the hit should not be reported.

In the case of raycastMultiple and sweepMultiple queries, hits of type eTOUCH will be returned which are closer than the first eBLOCK, together with the closest hit of type eBLOCK. For example, to return all hits in a raycastMultiple, always return eTOUCH.

For raycastSingle/sweepSingle, the closest hit of type eBLOCK is returned.

See also:
PxSceneQueryFilter.preFilter PxSceneQueryFilter.postFilter

Member Enumeration Documentation

Enumerator:
eNONE  the query should ignore this shape
eTOUCH  a hit on the shape touches the intersection geometry of the query but does not block it
eBLOCK  a hit on the shape blocks the query


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



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