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

Public Member Functions

 QPhysXTriggerBody (QTriggerBody *frontEnd)
 
DebugDrawBodyType getDebugDrawBodyType () override
 
void sync (float deltaTime, QHash< QQuick3DNode *, QMatrix4x4 > &transformCache) override
 
bool useTriggerFlag () 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 644 of file qphysicsworld.cpp.

Constructor & Destructor Documentation

◆ QPhysXTriggerBody()

QPhysXTriggerBody::QPhysXTriggerBody ( QTriggerBody frontEnd)
inline

Definition at line 647 of file qphysicsworld.cpp.

Member Function Documentation

◆ getDebugDrawBodyType()

DebugDrawBodyType QPhysXTriggerBody::getDebugDrawBodyType ( )
overridevirtual

Reimplemented from QAbstractPhysXNode.

Definition at line 1029 of file qphysicsworld.cpp.

References Trigger.

◆ sync()

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

Reimplemented from QPhysXActorBody.

Definition at line 1034 of file qphysicsworld.cpp.

References QPhysXActorBody::actor, QAbstractPhysXNode::frontendNode, and getPhysXWorldTransform().

+ Here is the call graph for this function:

◆ useTriggerFlag()

bool QPhysXTriggerBody::useTriggerFlag ( )
inlineoverridevirtual

Reimplemented from QAbstractPhysXNode.

Definition at line 651 of file qphysicsworld.cpp.


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