Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
QPhysXRigidBody Class Reference
+ Inheritance diagram for QPhysXRigidBody:
+ Collaboration diagram for QPhysXRigidBody:

Public Member Functions

 QPhysXRigidBody (QAbstractPhysicsBody *frontEnd)
 
void createMaterial (PhysXWorld *physX) override
 
- Public Member Functions inherited from QPhysXActorBody
 QPhysXActorBody (QAbstractPhysicsNode *frontEnd)
 
void cleanup (PhysXWorld *physX) override
 
void init (QPhysicsWorld *world, PhysXWorld *physX) override
 
void sync (float deltaTime, QHash< QQuick3DNode *, QMatrix4x4 > &transformCache) override
 
void markDirtyShapes () override
 
void rebuildDirtyShapes (QPhysicsWorld *world, PhysXWorld *physX) override
 
virtual void createActor (PhysXWorld *physX)
 
bool debugGeometryCapability () override
 
physx::PxTransform getGlobalPose () override
 
void buildShapes (PhysXWorld *physX)
 
- Public Member Functions inherited from QAbstractPhysXNode
 QAbstractPhysXNode (QAbstractPhysicsNode *node)
 
virtual ~QAbstractPhysXNode ()
 
bool cleanupIfRemoved (PhysXWorld *physX)
 
virtual void init (QPhysicsWorld *world, PhysXWorld *physX)=0
 
virtual void updateDefaultDensity (float)
 
virtual void createMaterial (PhysXWorld *physX)
 
void createMaterialFromQtMaterial (PhysXWorld *physX, QPhysicsMaterial *qtMaterial)
 
virtual void markDirtyShapes ()
 
virtual void rebuildDirtyShapes (QPhysicsWorld *, PhysXWorld *)
 
virtual void sync (float deltaTime, QHash< QQuick3DNode *, QMatrix4x4 > &transformCache)=0
 
virtual void cleanup (PhysXWorld *)
 
virtual bool debugGeometryCapability ()
 
virtual physx::PxTransform getGlobalPose ()
 
virtual bool useTriggerFlag ()
 
virtual DebugDrawBodyType getDebugDrawBodyType ()
 
bool shapesDirty () const
 
void setShapesDirty (bool dirty)
 

Additional Inherited Members

- Public Attributes inherited from QPhysXActorBody
physx::PxRigidActor * actor = nullptr
 
- Public Attributes inherited from QAbstractPhysXNode
QVector< physx::PxShape * > shapes
 
physx::PxMaterial * material = nullptr
 
QAbstractPhysicsNodefrontendNode = nullptr
 
bool isRemoved = false
 
- Static Public Attributes inherited from QAbstractPhysXNode
static physx::PxMaterial * defaultMaterial = nullptr
 

Detailed Description

Definition at line 616 of file qphysicsworld.cpp.

Constructor & Destructor Documentation

◆ QPhysXRigidBody()

QPhysXRigidBody::QPhysXRigidBody ( QAbstractPhysicsBody frontEnd)
inline

Definition at line 619 of file qphysicsworld.cpp.

Member Function Documentation

◆ createMaterial()

void QPhysXRigidBody::createMaterial ( PhysXWorld physX)
overridevirtual

Reimplemented from QAbstractPhysXNode.

Definition at line 708 of file qphysicsworld.cpp.

References QAbstractPhysXNode::createMaterialFromQtMaterial(), and QAbstractPhysXNode::frontendNode.

+ Here is the call graph for this function:

The documentation for this class was generated from the following file: