Public Attributes
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 Sat Dec 1 2018 15:52:10

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