Public Attributes
physx::apex::NxRenderMeshActorRaycastHitData Struct Reference

Return data from raycasting an NxRenderMeshActor. More...

#include <NxRenderMeshActor.h>

List of all members.

Public Attributes

physx::PxF32 time
physx::PxU32 partIndex
physx::PxU32 submeshIndex
physx::PxU32 vertexIndices [3]
physx::PxVec3 normal
physx::PxVec3 tangent
physx::PxVec3 binormal

Detailed Description

Return data from raycasting an NxRenderMeshActor.


Member Data Documentation

The lighting binormal at the hit point, if the vertex format supports this. Otherwise set to (0,0,0).

The lighting normal at the hit point, if the vertex format supports this. Otherwise set to (0,0,0).

The part index containing the hit triangle.

The submesh index of the triangle hit.

The lighting tangent at the hit point, if the vertex format supports this. Otherwise set to (0,0,0).

The time to the hit point. That is, the hit point is given by worldOrig + time*worldDisp.

The vertex indices of the triangle hit.


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

Generated on Mon Apr 28 2014 08:01:37

Copyright © 2012-2014 NVIDIA Corporation, 2701 San Tomas Expressway, Santa Clara, CA 95050 U.S.A. All rights reserved.