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

#include <qphysicscommands_p.h>

+ Inheritance diagram for QPhysicsCommandSetGravityEnabled:
+ Collaboration diagram for QPhysicsCommandSetGravityEnabled:

Public Member Functions

 QPhysicsCommandSetGravityEnabled (bool inGravityEnabled)
 
void execute (const QDynamicRigidBody &rigidBody, physx::PxRigidBody &body) override
 
- Public Member Functions inherited from QPhysicsCommand
virtual ~QPhysicsCommand ()=default
 

Detailed Description

Definition at line 173 of file qphysicscommands_p.h.

Constructor & Destructor Documentation

◆ QPhysicsCommandSetGravityEnabled()

QPhysicsCommandSetGravityEnabled::QPhysicsCommandSetGravityEnabled ( bool inGravityEnabled)

Definition at line 228 of file qphysicscommands.cpp.

Member Function Documentation

◆ execute()

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

Implements QPhysicsCommand.

Definition at line 233 of file qphysicscommands.cpp.

References Q_UNUSED.


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