![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qabstractphysxnode_p.h>
Public Member Functions | |
| QAbstractPhysXNode (QAbstractPhysicsNode *node) | |
| virtual | ~QAbstractPhysXNode () |
| bool | cleanupIfRemoved (QPhysXWorld *physX) |
| virtual void | init (QPhysicsWorld *world, QPhysXWorld *physX)=0 |
| virtual void | updateDefaultDensity (float density) |
| virtual void | createMaterial (QPhysXWorld *physX) |
| void | createMaterialFromQtMaterial (QPhysXWorld *physX, QPhysicsMaterial *qtMaterial) |
| virtual void | markDirtyShapes () |
| virtual void | rebuildDirtyShapes (QPhysicsWorld *, QPhysXWorld *) |
| virtual void | updateFilters () |
| virtual void | sync (float deltaTime, QHash< QQuick3DNode *, QMatrix4x4 > &transformCache)=0 |
| virtual void | cleanup (QPhysXWorld *) |
| virtual bool | debugGeometryCapability () |
| virtual physx::PxTransform | getGlobalPose () |
| virtual bool | useTriggerFlag () |
| virtual DebugDrawBodyType | getDebugDrawBodyType () |
| bool | shapesDirty () const |
| void | setShapesDirty (bool dirty) |
| bool | filtersDirty () const |
| void | setFiltersDirty (bool dirty) |
Public Attributes | |
| QVector< physx::PxShape * > | shapes |
| physx::PxMaterial * | material = nullptr |
| QAbstractPhysicsNode * | frontendNode = nullptr |
| bool | isRemoved = false |
Static Public Attributes | |
| static physx::PxMaterial * | sDefaultMaterial = nullptr |
Definition at line 56 of file qabstractphysxnode_p.h.
| QAbstractPhysXNode::QAbstractPhysXNode | ( | QAbstractPhysicsNode * | node | ) |
Definition at line 24 of file qabstractphysxnode.cpp.
References frontendNode.
Referenced by QPhysXActorBody::QPhysXActorBody().
|
virtual |
Definition at line 30 of file qabstractphysxnode.cpp.
References frontendNode, and isRemoved.
|
virtual |
Reimplemented in QPhysXActorBody, and QPhysXCharacterController.
Definition at line 81 of file qabstractphysxnode.cpp.
References material, and sDefaultMaterial.
Referenced by QPhysXActorBody::cleanup(), QPhysXCharacterController::cleanup(), and cleanupIfRemoved().
| bool QAbstractPhysXNode::cleanupIfRemoved | ( | QPhysXWorld * | physX | ) |
Definition at line 40 of file qabstractphysxnode.cpp.
References cleanup(), and isRemoved.
|
virtual |
Reimplemented in QPhysXCharacterController, and QPhysXRigidBody.
Definition at line 52 of file qabstractphysxnode.cpp.
References createMaterialFromQtMaterial().
Referenced by QPhysXActorBody::init().
| void QAbstractPhysXNode::createMaterialFromQtMaterial | ( | QPhysXWorld * | physX, |
| QPhysicsMaterial * | qtMaterial ) |
Definition at line 57 of file qabstractphysxnode.cpp.
References StaticPhysXObjects::getReference(), material, and sDefaultMaterial.
Referenced by createMaterial().
|
virtual |
Reimplemented in QPhysXActorBody, and QPhysXCharacterController.
Definition at line 89 of file qabstractphysxnode.cpp.
| bool QAbstractPhysXNode::filtersDirty | ( | ) | const |
Definition at line 119 of file qabstractphysxnode.cpp.
References frontendNode.
Referenced by QPhysXActorBody::updateFilters().
|
virtual |
Reimplemented in QPhysXCharacterController, QPhysXDynamicBody, QPhysXStaticBody, and QPhysXTriggerBody.
Definition at line 104 of file qabstractphysxnode.cpp.
References Unknown.
|
virtual |
Reimplemented in QPhysXActorBody.
Definition at line 94 of file qabstractphysxnode.cpp.
|
pure virtual |
Implemented in QPhysXActorBody, and QPhysXCharacterController.
|
virtual |
Reimplemented in QPhysXActorBody.
Definition at line 75 of file qabstractphysxnode.cpp.
|
virtual |
Reimplemented in QPhysXActorBody, and QPhysXDynamicBody.
Definition at line 77 of file qabstractphysxnode.cpp.
| void QAbstractPhysXNode::setFiltersDirty | ( | bool | dirty | ) |
Definition at line 124 of file qabstractphysxnode.cpp.
References frontendNode.
Referenced by QPhysXActorBody::buildShapes(), and QPhysXActorBody::updateFilters().
| void QAbstractPhysXNode::setShapesDirty | ( | bool | dirty | ) |
Definition at line 114 of file qabstractphysxnode.cpp.
References frontendNode.
Referenced by QPhysXActorBody::init(), QPhysXActorBody::markDirtyShapes(), QPhysXActorBody::rebuildDirtyShapes(), and QPhysXDynamicBody::rebuildDirtyShapes().
| bool QAbstractPhysXNode::shapesDirty | ( | ) | const |
Definition at line 109 of file qabstractphysxnode.cpp.
References frontendNode.
Referenced by QPhysXActorBody::markDirtyShapes(), QPhysXActorBody::rebuildDirtyShapes(), and QPhysXDynamicBody::rebuildDirtyShapes().
|
pure virtual |
Implemented in QPhysXActorBody, QPhysXCharacterController, QPhysXDynamicBody, QPhysXStaticBody, and QPhysXTriggerBody.
|
virtual |
Reimplemented in QPhysXDynamicBody.
Definition at line 50 of file qabstractphysxnode.cpp.
|
virtual |
Reimplemented in QPhysXActorBody.
Definition at line 79 of file qabstractphysxnode.cpp.
|
virtual |
Reimplemented in QPhysXTriggerBody.
Definition at line 99 of file qabstractphysxnode.cpp.
| QAbstractPhysicsNode* QAbstractPhysXNode::frontendNode = nullptr |
Definition at line 88 of file qabstractphysxnode_p.h.
Referenced by QAbstractPhysXNode(), ~QAbstractPhysXNode(), filtersDirty(), QPhysXActorBody::init(), QPhysXCharacterController::init(), QPhysXActorBody::markDirtyShapes(), setFiltersDirty(), setShapesDirty(), and shapesDirty().
| bool QAbstractPhysXNode::isRemoved = false |
Definition at line 89 of file qabstractphysxnode_p.h.
Referenced by ~QAbstractPhysXNode(), and cleanupIfRemoved().
| physx::PxMaterial* QAbstractPhysXNode::material = nullptr |
Definition at line 87 of file qabstractphysxnode_p.h.
Referenced by cleanup(), createMaterialFromQtMaterial(), QPhysXCharacterController::init(), and QPhysXActorBody::sync().
|
static |
Definition at line 90 of file qabstractphysxnode_p.h.
Referenced by cleanup(), and createMaterialFromQtMaterial().
| QVector<physx::PxShape *> QAbstractPhysXNode::shapes |
Definition at line 86 of file qabstractphysxnode_p.h.