![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qphysxworld_p.h>
Public Member Functions | |
void | createWorld () |
void | deleteWorld () |
void | createScene (float typicalLength, float typicalSpeed, const QVector3D &gravity, bool enableCCD, QPhysicsWorld *physicsWorld, unsigned int numThreads) |
Public Attributes | |
physx::PxControllerManager * | controllerManager = nullptr |
SimulationEventCallback * | callback = nullptr |
physx::PxScene * | scene = nullptr |
bool | isRunning = false |
Definition at line 31 of file qphysxworld_p.h.
void QPhysXWorld::createScene | ( | float | typicalLength, |
float | typicalSpeed, | ||
const QVector3D & | gravity, | ||
bool | enableCCD, | ||
QPhysicsWorld * | physicsWorld, | ||
unsigned int | numThreads ) |
Definition at line 269 of file qphysxworld.cpp.
References SimulationEventCallback::SimulationEventCallback(), callback, StaticPhysXObjects::getReference(), StaticPhysXObjects::physics, StaticPhysXObjects::physicsCreated, and scene.
void QPhysXWorld::createWorld | ( | ) |
Definition at line 216 of file qphysxworld.cpp.
References StaticPhysXObjects::foundation, StaticPhysXObjects::foundationCreated, StaticPhysXObjects::foundationRefCount, and StaticPhysXObjects::getReference().
void QPhysXWorld::deleteWorld | ( | ) |
Definition at line 243 of file qphysxworld.cpp.
References callback, controllerManager, StaticPhysXObjects::cooking, StaticPhysXObjects::dispatcher, StaticPhysXObjects::foundation, StaticPhysXObjects::foundationCreated, StaticPhysXObjects::foundationRefCount, StaticPhysXObjects::getReference(), StaticPhysXObjects::physics, StaticPhysXObjects::physicsCreated, StaticPhysXObjects::pvd, scene, and StaticPhysXObjects::transport.
SimulationEventCallback* QPhysXWorld::callback = nullptr |
Definition at line 41 of file qphysxworld_p.h.
Referenced by createScene(), and deleteWorld().
physx::PxControllerManager* QPhysXWorld::controllerManager = nullptr |
Definition at line 40 of file qphysxworld_p.h.
Referenced by deleteWorld().
bool QPhysXWorld::isRunning = false |
Definition at line 43 of file qphysxworld_p.h.
physx::PxScene* QPhysXWorld::scene = nullptr |
Definition at line 42 of file qphysxworld_p.h.
Referenced by QPhysXActorBody::cleanup(), createScene(), deleteWorld(), and QPhysXActorBody::init().