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>.
|
#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 callback, contactReportFilterShader(), contactReportFilterShaderCCD(), StaticPhysXObjects::getReference(), qFatal, qWarning, scene, and QPhysicsUtils::toPhysXType().
void QPhysXWorld::createWorld | ( | ) |
Definition at line 216 of file qphysxworld.cpp.
References StaticPhysXObjects::getReference(), and qFatal.
Referenced by QPhysicsWorld::QPhysicsWorld().
void QPhysXWorld::deleteWorld | ( | ) |
Definition at line 243 of file qphysxworld.cpp.
References callback, controllerManager, StaticPhysXObjects::getReference(), PHYSX_RELEASE, and scene.
Referenced by QPhysicsWorld::~QPhysicsWorld().
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 QPhysicsWorld::controllerManager(), and deleteWorld().
bool QPhysXWorld::isRunning = false |
Definition at line 43 of file qphysxworld_p.h.
Referenced by SimulationWorker::simulateFrame().
physx::PxScene* QPhysXWorld::scene = nullptr |
Definition at line 42 of file qphysxworld_p.h.
Referenced by QPhysicsWorld::controllerManager(), createScene(), deleteWorld(), QPhysicsWorld::setGravity(), and SimulationWorker::simulateFrame().