PhysX SDK 3.2 API Reference: PxSceneQueryImpactHit Struct Reference

PhysX SDK 3.2 API

PxSceneQueryImpactHit Struct Reference
[Scenequery]

Scene query hit information for queries with impacts. More...

#include <PxSceneQueryReport.h>

Inheritance diagram for PxSceneQueryImpactHit:
Collaboration diagram for PxSceneQueryImpactHit:

List of all members.


Public Member Functions

PX_INLINE PxSceneQueryImpactHit ()

Public Attributes

PxVec3 impact
 World-space impact point (flag: PxSceneQueryFlag::eIMPACT).
PxVec3 normal
 World-space impact normal (flag: PxSceneQueryFlag::eNORMAL).
PxF32 distance
 Distance to hit (flag: PxSceneQueryFlag::eDISTANCE).

Detailed Description

Scene query hit information for queries with impacts.

PxSceneQueryFlag flags can be passed to scene query functions, as an optimization, to cause the SDK to only generate specific members of this structure.


Constructor & Destructor Documentation

PX_INLINE PxSceneQueryImpactHit::PxSceneQueryImpactHit (  )  [inline]


Member Data Documentation


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



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