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] --- .../files/structPxSpatialLocationCallback.html | 120 +++++++++++++++++++++ 1 file changed, 120 insertions(+) create mode 100644 PhysX_3.4/Documentation/PhysXAPI/files/structPxSpatialLocationCallback.html (limited to 'PhysX_3.4/Documentation/PhysXAPI/files/structPxSpatialLocationCallback.html') diff --git a/PhysX_3.4/Documentation/PhysXAPI/files/structPxSpatialLocationCallback.html b/PhysX_3.4/Documentation/PhysXAPI/files/structPxSpatialLocationCallback.html new file mode 100644 index 00000000..0c500fa9 --- /dev/null +++ b/PhysX_3.4/Documentation/PhysXAPI/files/structPxSpatialLocationCallback.html @@ -0,0 +1,120 @@ + + + NVIDIA(R) PhysX(R) SDK 3.4 API Reference: PxSpatialLocationCallback Struct Reference + + + + + + + +
+

PxSpatialLocationCallback Struct Reference
+ +[Physics] +

Callback class for raycast and sweep queries against PxSpatialIndex. +More... +

+#include <PxSpatialIndex.h> +

+ +

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

Public Member Functions

virtual PxAgain onHit (PxSpatialIndexItem &item, PxReal distance, PxReal &shrunkDistance)=0
 callback method invoked when a sweep or raycast query hits an item in a PxSpatialIndex structure.
virtual ~PxSpatialLocationCallback ()
+


Detailed Description

+Callback class for raycast and sweep queries against PxSpatialIndex. +

+

Deprecated:
Spatial index feature has been deprecated in PhysX version 3.4
+
See also:
PxSpatialIndex
+

Constructor & Destructor Documentation

+ +
+
+ + + + + + + + +
virtual PxSpatialLocationCallback::~PxSpatialLocationCallback (  )  [inline, virtual]
+
+
+ +

+ +

+

+


Member Function Documentation

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
virtual PxAgain PxSpatialLocationCallback::onHit (PxSpatialIndexItem item,
PxReal  distance,
PxReal &  shrunkDistance 
) [pure virtual]
+
+
+ +

+callback method invoked when a sweep or raycast query hits an item in a PxSpatialIndex structure. +

+

Parameters:
+ + + + +
[in] item the item that was hit.
[in] distance the current maximum distance of the query.
[out] shrunkDistance the updated maximum distance of the query. This must be no more than the current maximum distance.
+
+
Returns:
true if the query should continue, false if it should stop
+
See also:
PxAgain
+ +
+

+


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