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

NVIDIA PhysX SDK 3.4 API

PxQueryHit Struct Reference
[Scenequery]

Scene query hit information. More...

#include <PxQueryReport.h>

Inheritance diagram for PxQueryHit:
Collaboration diagram for PxQueryHit:

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