PxQueryHit Struct Reference
[Scenequery]

Scene query hit information. More...

#include <PxQueryReport.h>

Inheritance diagram for PxQueryHit:

Inheritance graph
PxLocationHitPxOverlapHitPxActorShapePxRaycastHitPxSweepHit
[legend]
Collaboration diagram for PxQueryHit:

Collaboration graph
PxActorShapePxRigidActorPxActorPxBasePxShapePxFlags\< PxBaseFlag::Enum, PxU16 \>
[legend]

List of all members.

Public Member Functions

PX_INLINE PxQueryHit ()

Public Attributes

PxU32 faceIndex


Detailed Description

Scene query hit information.

Constructor & Destructor Documentation

PX_INLINE PxQueryHit::PxQueryHit (  )  [inline]


Member Data Documentation

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-2018 NVIDIA Corporation, 2701 San Tomas Expressway, Santa Clara, CA 95050 U.S.A. All rights reserved. www.nvidia.com