From 3dfe2108cfab31ba3ee5527e217d0d8e99a51162 Mon Sep 17 00:00:00 2001 From: git perforce import user Date: Tue, 25 Oct 2016 12:29:14 -0600 Subject: Initial commit: PhysX 3.4.0 Update @ 21294896 APEX 1.4.0 Update @ 21275617 [CL 21300167] --- .../PhysXAPI/files/structPxRaycastHit.html | 141 +++++++++++++++++++++ 1 file changed, 141 insertions(+) create mode 100644 PhysX_3.4/Documentation/PhysXAPI/files/structPxRaycastHit.html (limited to 'PhysX_3.4/Documentation/PhysXAPI/files/structPxRaycastHit.html') diff --git a/PhysX_3.4/Documentation/PhysXAPI/files/structPxRaycastHit.html b/PhysX_3.4/Documentation/PhysXAPI/files/structPxRaycastHit.html new file mode 100644 index 00000000..07239541 --- /dev/null +++ b/PhysX_3.4/Documentation/PhysXAPI/files/structPxRaycastHit.html @@ -0,0 +1,141 @@ + + + NVIDIA(R) PhysX(R) SDK 3.4 API Reference: PxRaycastHit Struct Reference + + + + + + + +
+

PxRaycastHit Struct Reference
+ +[Scenequery] +

Stores results of raycast queries. +More... +

+#include <PxQueryReport.h> +

+

+Inheritance diagram for PxRaycastHit:
+
+

Inheritance graph
+ +PxLocationHitPxQueryHitPxActorShape +
[legend]
+
+Collaboration diagram for PxRaycastHit:
+
+

Collaboration graph
+ +PxLocationHitPxQueryHitPxActorShapePxRigidActorPxActorPxBasePxShapePxFlags\< PxBaseFlag::Enum, PxU16 \>PxVec3 +
[legend]
+ +

+List of all members. + + + + + + + + + + + + +

Public Member Functions

PX_INLINE PxRaycastHit ()

Public Attributes

PxReal u
PxReal v
 barycentric coordinates of hit point, for triangle mesh and height field (flag: PxHitFlag::eUV)
PxU32 padTo16Bytes [3]
+


Detailed Description

+Stores 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.

+

See also:
PxScene.raycast PxBatchQuery.raycast PxVolumeCache.raycast
+

Constructor & Destructor Documentation

+ +
+
+ + + + + + + + +
PX_INLINE PxRaycastHit::PxRaycastHit (  )  [inline]
+
+
+ +

+ +

+

+


Member Data Documentation

+ +
+ +
+ +

+ +

+

+ +

+
+ + + + +
PxReal PxRaycastHit::u
+
+
+ +

+ +

+

+ +

+
+ + + + +
PxReal PxRaycastHit::v
+
+
+ +

+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-2016 NVIDIA Corporation, 2701 San Tomas Expressway, Santa Clara, CA 95050 U.S.A. All rights reserved. www.nvidia.com + + -- cgit v1.2.3