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 <qphysxactorbody_p.h>
Public Attributes | |
physx::PxRigidActor * | actor = nullptr |
Public Attributes inherited from QAbstractPhysXNode | |
QVector< physx::PxShape * > | shapes |
physx::PxMaterial * | material = nullptr |
QAbstractPhysicsNode * | frontendNode = nullptr |
bool | isRemoved = false |
Additional Inherited Members | |
Static Public Attributes inherited from QAbstractPhysXNode | |
static physx::PxMaterial * | sDefaultMaterial = nullptr |
Definition at line 27 of file qphysxactorbody_p.h.
QPhysXActorBody::QPhysXActorBody | ( | QAbstractPhysicsNode * | frontEnd | ) |
Definition at line 48 of file qphysxactorbody.cpp.
void QPhysXActorBody::buildShapes | ( | QPhysXWorld * | physX | ) |
Definition at line 144 of file qphysxactorbody.cpp.
References actor, QAbstractPhysicsNode::filterGroup, QAbstractPhysicsNode::filterIgnoreGroups, QAbstractPhysXNode::frontendNode, QAbstractPhysicsNode::getCollisionShapesList(), getPhysXLocalTransform(), StaticPhysXObjects::getReference(), QAbstractPhysXNode::material, PHYSX_RELEASE, QAbstractPhysXNode::setFiltersDirty(), QAbstractPhysXNode::shapes, and QAbstractPhysXNode::useTriggerFlag().
Referenced by rebuildDirtyShapes(), and QPhysXDynamicBody::rebuildDirtyShapes().
|
overridevirtual |
Reimplemented from QAbstractPhysXNode.
Definition at line 50 of file qphysxactorbody.cpp.
References actor, QAbstractPhysXNode::cleanup(), and PHYSX_RELEASE.
|
virtual |
Reimplemented in QPhysXStaticBody.
Definition at line 126 of file qphysxactorbody.cpp.
References actor, QAbstractPhysXNode::frontendNode, StaticPhysXObjects::getReference(), QQuick3DNode::scenePosition, QQuick3DNode::sceneRotation, and QPhysicsUtils::toPhysXTransform().
Referenced by init().
|
overridevirtual |
Reimplemented from QAbstractPhysXNode.
Definition at line 134 of file qphysxactorbody.cpp.
|
overridevirtual |
Reimplemented from QAbstractPhysXNode.
Definition at line 139 of file qphysxactorbody.cpp.
References actor.
|
overridevirtual |
Implements QAbstractPhysXNode.
Definition at line 59 of file qphysxactorbody.cpp.
References actor, createActor(), QAbstractPhysXNode::createMaterial(), QAbstractPhysXNode::frontendNode, Q_ASSERT, and QAbstractPhysXNode::setShapesDirty().
|
overridevirtual |
Reimplemented from QAbstractPhysXNode.
Definition at line 88 of file qphysxactorbody.cpp.
References actor, QAbstractPhysXNode::frontendNode, QPhysicsUtils::fuzzyEquals(), QAbstractPhysicsNode::getCollisionShapesList(), getPhysXLocalTransform(), i, QAbstractPhysXNode::setShapesDirty(), QAbstractPhysXNode::shapes, and QAbstractPhysXNode::shapesDirty().
|
overridevirtual |
Reimplemented from QAbstractPhysXNode.
Reimplemented in QPhysXDynamicBody.
Definition at line 118 of file qphysxactorbody.cpp.
References buildShapes(), QAbstractPhysXNode::setShapesDirty(), and QAbstractPhysXNode::shapesDirty().
|
overridevirtual |
Implements QAbstractPhysXNode.
Reimplemented in QPhysXDynamicBody, QPhysXStaticBody, and QPhysXTriggerBody.
Definition at line 71 of file qphysxactorbody.cpp.
References QAbstractPhysXNode::frontendNode, and QAbstractPhysXNode::material.
Referenced by QPhysXDynamicBody::sync(), and QPhysXStaticBody::sync().
|
overridevirtual |
Reimplemented from QAbstractPhysXNode.
Definition at line 186 of file qphysxactorbody.cpp.
References QAbstractPhysicsNode::filterGroup, QAbstractPhysicsNode::filterIgnoreGroups, QAbstractPhysXNode::filtersDirty(), QAbstractPhysXNode::frontendNode, QAbstractPhysXNode::setFiltersDirty(), and QAbstractPhysXNode::shapes.
physx::PxRigidActor* QPhysXActorBody::actor = nullptr |
Definition at line 43 of file qphysxactorbody_p.h.
Referenced by buildShapes(), cleanup(), createActor(), QPhysXStaticBody::createActor(), QPhysXDynamicBody::getDebugDrawBodyType(), getGlobalPose(), init(), markDirtyShapes(), QPhysXDynamicBody::rebuildDirtyShapes(), QPhysXDynamicBody::sync(), QPhysXStaticBody::sync(), and QPhysXTriggerBody::sync().