PxRaycastHit Struct ReferenceStores results of raycast queries.
Public Member Functions
|barycentric coordinates of hit point, for triangle mesh and height field (flag: PxHitFlag::eUV) |
Detailed DescriptionStores results of raycast queries.
PxHitFlag flags can be passed to raycast function, as an optimization, to cause the SDK to only compute specified members of this structure.
Some members like barycentric coordinates are currently only computed for triangle meshes and height fields, but next versions might provide them in other cases. The client code should check flags to make sure returned values are valid.
Constructor & Destructor Documentation
Member Data Documentation
barycentric coordinates of hit point, for triangle mesh and height field (flag: PxHitFlag::eUV)
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