PhysX SDK 3.2 API Reference: PxSceneQueryHit Struct Reference

PhysX SDK 3.2 API

PxSceneQueryHit Struct Reference
[Scenequery]

Scene query hit information. More...

#include <PxSceneQueryReport.h>

Inheritance diagram for PxSceneQueryHit:
Collaboration diagram for PxSceneQueryHit:

List of all members.


Public Member Functions

PX_INLINE PxSceneQueryHit ()

Public Attributes

PxShapeshape
 Hit shape.
PxU32 faceIndex
 Face index of touched triangle, for triangle mesh and height field. Note: These are post cooking indices, use PxTriangleMesh::getTrianglesRemap() to get the indices of the original mesh.
PxSceneQueryFlags flags
 Hit flags specifying which optional members are valid.

Detailed Description

Scene query hit information.

All members of the PxSceneQueryHit structure are not always available. For example when the query hits a sphere, the faceIndex member is not computed.


Constructor & Destructor Documentation

PX_INLINE PxSceneQueryHit::PxSceneQueryHit (  )  [inline]


Member Data Documentation

Face index of touched triangle, for triangle mesh and height field. Note: These are post cooking indices, use PxTriangleMesh::getTrianglesRemap() to get the indices of the original mesh.

Hit flags specifying which optional members are valid.


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