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

#include <qphysicscommands_p.h>

Inheritance diagram for QPhysicsCommandSetMassAndInertiaTensor:
Collaboration diagram for QPhysicsCommandSetMassAndInertiaTensor:

Public Member Functions

 QPhysicsCommandSetMassAndInertiaTensor (float inMass, const QVector3D &inInertia)
 ~QPhysicsCommandSetMassAndInertiaTensor () override
void execute (const QDynamicRigidBody &rigidBody, physx::PxRigidBody &body) override
Public Member Functions inherited from QPhysicsCommand
 QPhysicsCommand ()=default
virtual ~QPhysicsCommand ()

Detailed Description

Definition at line 151 of file qphysicscommands_p.h.

Constructor & Destructor Documentation

◆ QPhysicsCommandSetMassAndInertiaTensor()

QPhysicsCommandSetMassAndInertiaTensor::QPhysicsCommandSetMassAndInertiaTensor ( float inMass,
const QVector3D & inInertia )
explicit

Definition at line 308 of file qphysicscommands.cpp.

References QPhysicsCommandSetMassAndInertiaTensor().

Referenced by QPhysicsCommandSetMassAndInertiaTensor().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ~QPhysicsCommandSetMassAndInertiaTensor()

QPhysicsCommandSetMassAndInertiaTensor::~QPhysicsCommandSetMassAndInertiaTensor ( )
overridedefault

Member Function Documentation

◆ execute()

void QPhysicsCommandSetMassAndInertiaTensor::execute ( const QDynamicRigidBody & rigidBody,
physx::PxRigidBody & body )
overridevirtual

Implements QPhysicsCommand.

Definition at line 179 of file qphysicscommands.cpp.


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