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
QPhysXStaticBody Class Reference

#include <qphysxstaticbody_p.h>

Inheritance diagram for QPhysXStaticBody:
Collaboration diagram for QPhysXStaticBody:

Public Member Functions

 QPhysXStaticBody (QStaticRigidBody *frontEnd)
DebugDrawBodyType getDebugDrawBodyType () override
void sync (float deltaTime, QHash< QQuick3DNode *, QMatrix4x4 > &transformCache) override
void createActor (QPhysXWorld *physX) override
Public Member Functions inherited from QPhysXRigidBody
 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 markDirtyShapes () override
void rebuildDirtyShapes (QPhysicsWorld *world, QPhysXWorld *physX) override
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 ()
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 24 of file qphysxstaticbody_p.h.

Constructor & Destructor Documentation

◆ QPhysXStaticBody()

QT_BEGIN_NAMESPACE QPhysXStaticBody::QPhysXStaticBody ( QStaticRigidBody * frontEnd)

Definition at line 17 of file qphysxstaticbody.cpp.

Member Function Documentation

◆ createActor()

void QPhysXStaticBody::createActor ( QPhysXWorld * physX)
overridevirtual

Reimplemented from QPhysXActorBody.

Definition at line 44 of file qphysxstaticbody.cpp.

References QPhysXActorBody::actor, StaticPhysXObjects::getReference(), and StaticPhysXObjects::physics.

Here is the call graph for this function:

◆ getDebugDrawBodyType()

DebugDrawBodyType QPhysXStaticBody::getDebugDrawBodyType ( )
overridevirtual

Reimplemented from QAbstractPhysXNode.

Definition at line 19 of file qphysxstaticbody.cpp.

References Static.

◆ sync()

void QPhysXStaticBody::sync ( float deltaTime,
QHash< QQuick3DNode *, QMatrix4x4 > & transformCache )
overridevirtual

Reimplemented from QPhysXActorBody.

Definition at line 24 of file qphysxstaticbody.cpp.

References QPhysXActorBody::actor.


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