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

#include <qphysxcharactercontroller_p.h>

Inheritance diagram for QPhysXCharacterController:
Collaboration diagram for QPhysXCharacterController:

Public Member Functions

 QPhysXCharacterController (QCharacterController *frontEnd)
void cleanup (QPhysXWorld *physX) override
void init (QPhysicsWorld *world, QPhysXWorld *physX) override
void sync (float deltaTime, QHash< QQuick3DNode *, QMatrix4x4 > &transformCache) override
void createMaterial (QPhysXWorld *physX) override
bool debugGeometryCapability () override
DebugDrawBodyType getDebugDrawBodyType () 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 void markDirtyShapes ()
virtual void rebuildDirtyShapes (QPhysicsWorld *, QPhysXWorld *)
virtual void updateFilters ()
virtual physx::PxTransform getGlobalPose ()
virtual bool useTriggerFlag ()
bool shapesDirty () const
void setShapesDirty (bool dirty)
bool filtersDirty () const
void setFiltersDirty (bool dirty)

Additional Inherited Members

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 30 of file qphysxcharactercontroller_p.h.

Constructor & Destructor Documentation

◆ QPhysXCharacterController()

QPhysXCharacterController::QPhysXCharacterController ( QCharacterController * frontEnd)

Definition at line 53 of file qphysxcharactercontroller.cpp.

Member Function Documentation

◆ cleanup()

void QPhysXCharacterController::cleanup ( QPhysXWorld * physX)
overridevirtual

Reimplemented from QAbstractPhysXNode.

Definition at line 58 of file qphysxcharactercontroller.cpp.

References QAbstractPhysXNode::cleanup().

Here is the call graph for this function:

◆ createMaterial()

void QPhysXCharacterController::createMaterial ( QPhysXWorld * physX)
overridevirtual

Reimplemented from QAbstractPhysXNode.

Definition at line 182 of file qphysxcharactercontroller.cpp.

Referenced by init().

Here is the caller graph for this function:

◆ debugGeometryCapability()

bool QPhysXCharacterController::debugGeometryCapability ( )
overridevirtual

Reimplemented from QAbstractPhysXNode.

Definition at line 188 of file qphysxcharactercontroller.cpp.

◆ getDebugDrawBodyType()

DebugDrawBodyType QPhysXCharacterController::getDebugDrawBodyType ( )
overridevirtual

Reimplemented from QAbstractPhysXNode.

Definition at line 193 of file qphysxcharactercontroller.cpp.

References Character.

◆ init()

void QPhysXCharacterController::init ( QPhysicsWorld * world,
QPhysXWorld * physX )
overridevirtual

Implements QAbstractPhysXNode.

Definition at line 66 of file qphysxcharactercontroller.cpp.

References createMaterial(), QAbstractPhysXNode::frontendNode, and QAbstractPhysXNode::material.

Here is the call graph for this function:

◆ sync()

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

Implements QAbstractPhysXNode.

Definition at line 121 of file qphysxcharactercontroller.cpp.


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