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

#include <qphysicscommands_p.h>

Inheritance diagram for QPhysicsCommandSetGravityEnabled:
Collaboration diagram for QPhysicsCommandSetGravityEnabled:

Public Member Functions

 QPhysicsCommandSetGravityEnabled (bool inGravityEnabled)
 ~QPhysicsCommandSetGravityEnabled () 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 201 of file qphysicscommands_p.h.

Constructor & Destructor Documentation

◆ QPhysicsCommandSetGravityEnabled()

QPhysicsCommandSetGravityEnabled::QPhysicsCommandSetGravityEnabled ( bool inGravityEnabled)
explicit

Definition at line 270 of file qphysicscommands.cpp.

◆ ~QPhysicsCommandSetGravityEnabled()

QPhysicsCommandSetGravityEnabled::~QPhysicsCommandSetGravityEnabled ( )
overridedefault

Member Function Documentation

◆ execute()

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

Implements QPhysicsCommand.

Definition at line 278 of file qphysicscommands.cpp.


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