APEX Framework: nvidia::apex::RenderMeshActorRaycastHitData Struct Reference

NVIDIA APEX

nvidia::apex::RenderMeshActorRaycastHitData Struct Reference

Return data from raycasting an RenderMeshActor. More...

#include <RenderMeshActor.h>

List of all members.

Public Attributes

float time
uint32_t partIndex
uint32_t submeshIndex
uint32_t vertexIndices [3]
PxVec3 normal
PxVec3 tangent
PxVec3 binormal

Detailed Description

Return data from raycasting an RenderMeshActor.


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 Fri Dec 15 2017 13:58:40
Copyright © 2012-2017 NVIDIA Corporation, 2701 San Tomas Expressway, Santa Clara, CA 95050 U.S.A. All rights reserved.