Public Member Functions | Public Attributes | List of all members
PxQueryHit Struct Reference

Scene query hit information. More...

#include <PxQueryReport.h>

Inheritance diagram for PxQueryHit:
Inheritance graph
[legend]
Collaboration diagram for PxQueryHit:
Collaboration graph
[legend]

Public Member Functions

PX_INLINE PxQueryHit ()
 
- Public Member Functions inherited from PxActorShape
PX_INLINE PxActorShape ()
 
PX_INLINE PxActorShape (PxRigidActor *a, PxShape *s)
 

Public Attributes

PxU32 faceIndex
 
- Public Attributes inherited from PxActorShape
PxRigidActoractor
 
PxShapeshape
 

Detailed Description

Scene query hit information.

Constructor & Destructor Documentation

PX_INLINE PxQueryHit::PxQueryHit ( )
inline

Member Data Documentation

PxU32 PxQueryHit::faceIndex

Face index of touched triangle, for triangle meshes, convex meshes and height fields.

Note
This index will default to 0xFFFFffff value for overlap queries.
Please refer to the user guide for more details for sweep queries.
This index is remapped by mesh cooking. Use PxTriangleMesh::getTrianglesRemap() to convert to original mesh index.
For convex meshes use PxConvexMesh::getPolygonData() to retrieve touched polygon data.

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


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