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>.
Loading...
Searching...
No Matches
QPhysXTriggerBody Class Reference

#include <qphysxtriggerbody_p.h>

+ 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 (QPhysXWorld *physX) override
 
void init (QPhysicsWorld *world, QPhysXWorld *physX) 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)
 
virtual void createMaterial (QPhysXWorld *physX)
 
void createMaterialFromQtMaterial (QPhysXWorld *physX, QPhysicsMaterial *qtMaterial)
 
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 25 of file qphysxtriggerbody_p.h.

Constructor & Destructor Documentation

◆ QPhysXTriggerBody()

QT_BEGIN_NAMESPACE QPhysXTriggerBody::QPhysXTriggerBody ( QTriggerBody * frontEnd)

Definition at line 13 of file qphysxtriggerbody.cpp.

Member Function Documentation

◆ getDebugDrawBodyType()

DebugDrawBodyType QPhysXTriggerBody::getDebugDrawBodyType ( )
overridevirtual

Reimplemented from QAbstractPhysXNode.

Definition at line 15 of file qphysxtriggerbody.cpp.

References Trigger.

◆ sync()

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

Reimplemented from QPhysXActorBody.

Definition at line 20 of file qphysxtriggerbody.cpp.

References QPhysXActorBody::actor, QAbstractPhysXNode::frontendNode, and QPhysicsUtils::toPhysXTransform().

+ Here is the call graph for this function:

◆ useTriggerFlag()

bool QPhysXTriggerBody::useTriggerFlag ( )
inlineoverridevirtual

Reimplemented from QAbstractPhysXNode.

Definition at line 31 of file qphysxtriggerbody_p.h.


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