Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QPhysXRigidBody Class Reference

#include <qphysxrigidbody_p.h>

Inheritance diagram for QPhysXRigidBody:
Collaboration diagram for QPhysXRigidBody:

Public Member Functions

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

Detailed Description

Definition at line 26 of file qphysxrigidbody_p.h.

Constructor & Destructor Documentation

◆ QPhysXRigidBody()

QT_BEGIN_NAMESPACE QPhysXRigidBody::QPhysXRigidBody ( QAbstractPhysicsBody * frontEnd)

Definition at line 10 of file qphysxrigidbody.cpp.

Member Function Documentation

◆ createMaterial()

void QPhysXRigidBody::createMaterial ( QPhysXWorld * physX)
overridevirtual

Reimplemented from QAbstractPhysXNode.

Definition at line 12 of file qphysxrigidbody.cpp.


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