PxTriggerPair Struct Reference
[Physics]
Descriptor for a trigger pair.
More...
#include <PxSimulationEventCallback.h>
Collaboration diagram for PxTriggerPair:
![Collaboration graph](structPxTriggerPair__coll__graph.png)
Public Member Functions | |
PX_INLINE | PxTriggerPair () |
Public Attributes | |
PxShape * | triggerShape |
The shape that has been marked as a trigger. | |
PxShape * | otherShape |
The shape causing the trigger event. | |
PxPairFlag::Enum | status |
Type of trigger event (eNOTIFY_TOUCH_FOUND, eNOTIFY_TOUCH_PERSISTS or eNOTIFY_TOUCH_LOST). eNOTIFY_TOUCH_PERSISTS is deprecated and will be removed in the next release. | |
PxTriggerPairFlags | flags |
Additional information on the pair. |
Detailed Description
Descriptor for a trigger pair.An array of these structs gets passed to the PxSimulationEventCallback::onTrigger() report.
- Note:
- The shape pointers might reference deleted shapes. This will be the case if PxPairFlag::eNOTIFY_TOUCH_LOST events were requested for the pair and one of the involved shapes gets deleted. Check the flags member to see whether that is the case. Do not dereference a pointer to a deleted shape. The pointer to a deleted shape is only provided such that user data structures which might depend on the pointer value can be updated.
Constructor & Destructor Documentation
PX_INLINE PxTriggerPair::PxTriggerPair | ( | ) | [inline] |
Member Data Documentation
Additional information on the pair.
The shape causing the trigger event.
Type of trigger event (eNOTIFY_TOUCH_FOUND, eNOTIFY_TOUCH_PERSISTS or eNOTIFY_TOUCH_LOST). eNOTIFY_TOUCH_PERSISTS is deprecated and will be removed in the next release.
The shape that has been marked as a trigger.
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