Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
SimulationEventCallback Class Reference
+ Inheritance diagram for SimulationEventCallback:
+ Collaboration diagram for SimulationEventCallback:

Public Member Functions

 SimulationEventCallback (QPhysicsWorld *worldIn)
 
virtual ~SimulationEventCallback ()=default
 
void onTrigger (physx::PxTriggerPair *pairs, physx::PxU32 count) override
 
void onConstraintBreak (physx::PxConstraintInfo *, physx::PxU32) override
 
void onWake (physx::PxActor **, physx::PxU32) override
 
void onSleep (physx::PxActor **, physx::PxU32) override
 
void onContact (const physx::PxContactPairHeader &pairHeader, const physx::PxContactPair *pairs, physx::PxU32 nbPairs) override
 
void onAdvance (const physx::PxRigidBody *const *, const physx::PxTransform *, const physx::PxU32) override
 

Detailed Description

Definition at line 25 of file qphysxworld.cpp.

Constructor & Destructor Documentation

◆ SimulationEventCallback()

SimulationEventCallback::SimulationEventCallback ( QPhysicsWorld * worldIn)
inline

Definition at line 28 of file qphysxworld.cpp.

◆ ~SimulationEventCallback()

virtual SimulationEventCallback::~SimulationEventCallback ( )
virtualdefault

Member Function Documentation

◆ onAdvance()

void SimulationEventCallback::onAdvance ( const physx::PxRigidBody *const * ,
const physx::PxTransform * ,
const physx::PxU32  )
inlineoverride

Definition at line 140 of file qphysxworld.cpp.

◆ onConstraintBreak()

void SimulationEventCallback::onConstraintBreak ( physx::PxConstraintInfo * ,
physx::PxU32  )
inlineoverride

Definition at line 74 of file qphysxworld.cpp.

◆ onContact()

void SimulationEventCallback::onContact ( const physx::PxContactPairHeader & pairHeader,
const physx::PxContactPair * pairs,
physx::PxU32 nbPairs )
inlineoverride

Definition at line 78 of file qphysxworld.cpp.

References i, QPhysicsWorld::isNodeRemoved(), j, other(), position(), positions, QAbstractPhysicsNode::receiveContactReports, QPhysicsWorld::registerContact(), QAbstractPhysicsNode::sendContactReports, and QPhysicsUtils::toQtType().

+ Here is the call graph for this function:

◆ onSleep()

void SimulationEventCallback::onSleep ( physx::PxActor ** ,
physx::PxU32  )
inlineoverride

Definition at line 77 of file qphysxworld.cpp.

◆ onTrigger()

void SimulationEventCallback::onTrigger ( physx::PxTriggerPair * pairs,
physx::PxU32 count )
inlineoverride

Definition at line 31 of file qphysxworld.cpp.

References emit, i, QPhysicsWorld::isNodeRemoved(), and qWarning.

+ Here is the call graph for this function:

◆ onWake()

void SimulationEventCallback::onWake ( physx::PxActor ** ,
physx::PxU32  )
inlineoverride

Definition at line 76 of file qphysxworld.cpp.


The documentation for this class was generated from the following file: