PhysX SDK 3.2 API Reference: PxContactPairHeader Struct Reference

PhysX SDK 3.2 API

PxContactPairHeader Struct Reference
[Physics]

An Instance of this class is passed to PxSimulationEventCallback.onContact(). More...

#include <PxSimulationEventCallback.h>

Collaboration diagram for PxContactPairHeader:

List of all members.


Public Member Functions

PX_INLINE PxContactPairHeader ()

Public Attributes

PxActoractors [2]
 The two actors of the notification shape pairs.
PxContactPairHeaderFlags flags
 Additional information on the contact report pair.

Detailed Description

An Instance of this class is passed to PxSimulationEventCallback.onContact().

See also:
PxSimulationEventCallback.onContact()

Constructor & Destructor Documentation

PX_INLINE PxContactPairHeader::PxContactPairHeader (  )  [inline]


Member Data Documentation

The two actors of the notification shape pairs.

Note:
The actor pointers might reference deleted actors. This will be the case if PxPairFlag::eNOTIFY_TOUCH_LOST or PxPairFlag::eNOTIFY_THRESHOLD_FORCE_LOST events were requested for the pair and one of the involved actors gets deleted or removed from the scene. Check the flags member to see whether that is the case. Do not dereference a pointer to a deleted actor. The pointer to a deleted actor is only provided such that user data structures which might depend on the pointer value can be updated.
See also:
PxActor

Additional information on the contact report pair.

See also:
PxContactPairHeaderFlag


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