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

PxBroadPhaseCallback Class Reference
+ +[Physics] +

Broad-phase callback to receive broad-phase related events. +More... +

+#include <PxBroadPhase.h> +

+ +

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

Public Member Functions

virtual ~PxBroadPhaseCallback ()
virtual void onObjectOutOfBounds (PxShape &shape, PxActor &actor)=0
 Out-of-bounds notification.
virtual void onObjectOutOfBounds (PxAggregate &aggregate)=0
 Out-of-bounds notification.
+


Detailed Description

+Broad-phase callback to receive broad-phase related events. +

+Each broadphase callback object is associated with a PxClientID. It is possible to register different callbacks for different clients. The callback functions are called this way:

+

+

Note:
SDK state should not be modified from within the callbacks. In particular objects should not be created or destroyed. If state modification is needed then the changes should be stored to a buffer and performed after the simulation step.
+Threading: It is not necessary to make this class thread safe as it will only be called in the context of the user thread.

+

See also:
PxSceneDesc PxScene.setBroadPhaseCallback() PxScene.getBroadPhaseCallback()
+

Constructor & Destructor Documentation

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

+ +

+

+


Member Function Documentation

+ +
+
+ + + + + + + + + +
virtual void PxBroadPhaseCallback::onObjectOutOfBounds (PxAggregate aggregate  )  [pure virtual]
+
+
+ +

+Out-of-bounds notification. +

+This function is called when an aggregate leaves the broad-phase.

+

Parameters:
+ + +
[in] aggregate Aggregate that left the broad-phase bounds
+
+ +
+

+ +

+
+ + + + + + + + + + + + + + + + + + +
virtual void PxBroadPhaseCallback::onObjectOutOfBounds (PxShape shape,
PxActor actor 
) [pure virtual]
+
+
+ +

+Out-of-bounds notification. +

+This function is called when an object leaves the broad-phase.

+

Parameters:
+ + + +
[in] shape Shape that left the broad-phase bounds
[in] actor Owner actor
+
+ +
+

+


The documentation for this class 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