![]() |
Qt 6.x
The Qt SDK
|
Public Member Functions | |
void | createWorld () |
void | deleteWorld () |
void | createScene (float typicalLength, float typicalSpeed, const QVector3D &gravity, bool enableCCD, QPhysicsWorld *physicsWorld) |
Public Attributes | |
physx::PxControllerManager * | controllerManager = nullptr |
SimulationEventCallback * | callback = nullptr |
physx::PxScene * | scene = nullptr |
bool | isRunning = false |
Definition at line 414 of file qphysicsworld.cpp.
|
inline |
Definition at line 466 of file qphysicsworld.cpp.
References callback, contactReportFilterShader(), contactReportFilterShaderCCD(), StaticPhysXObjects::dispatcher, StaticPhysXObjects::foundation, StaticPhysXObjects::physics, StaticPhysXObjects::physicsCreated, StaticPhysXObjects::pvd, qFatal, qWarning, s_physx, scene, and QPhysicsUtils::toPhysXType().
|
inline |
Definition at line 416 of file qphysicsworld.cpp.
References StaticPhysXObjects::cooking, StaticPhysXObjects::defaultAllocatorCallback, StaticPhysXObjects::defaultErrorCallback, StaticPhysXObjects::foundation, StaticPhysXObjects::foundationCreated, StaticPhysXObjects::foundationRefCount, StaticPhysXObjects::pvd, qFatal, s_physx, and StaticPhysXObjects::transport.
Referenced by QPhysicsWorld::QPhysicsWorld().
|
inline |
Definition at line 441 of file qphysicsworld.cpp.
References callback, controllerManager, StaticPhysXObjects::cooking, StaticPhysXObjects::dispatcher, StaticPhysXObjects::foundation, StaticPhysXObjects::foundationCreated, StaticPhysXObjects::foundationRefCount, StaticPhysXObjects::physics, StaticPhysXObjects::physicsCreated, PHYSX_RELEASE, StaticPhysXObjects::pvd, s_physx, scene, and StaticPhysXObjects::transport.
Referenced by QPhysicsWorld::~QPhysicsWorld().
SimulationEventCallback* PhysXWorld::callback = nullptr |
Definition at line 508 of file qphysicsworld.cpp.
Referenced by createScene(), and deleteWorld().
physx::PxControllerManager* PhysXWorld::controllerManager = nullptr |
Definition at line 507 of file qphysicsworld.cpp.
Referenced by QPhysicsWorld::controllerManager(), and deleteWorld().
bool PhysXWorld::isRunning = false |
Definition at line 510 of file qphysicsworld.cpp.
Referenced by SimulationWorker::simulateFrame().
physx::PxScene* PhysXWorld::scene = nullptr |
Definition at line 509 of file qphysicsworld.cpp.
Referenced by QPhysXActorBody::cleanup(), QPhysicsWorld::controllerManager(), createScene(), deleteWorld(), QPhysXActorBody::init(), QPhysicsWorld::setGravity(), and SimulationWorker::simulateFrame().