IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)

QInputDeviceIntegration Class

Abstract base class used to define new input methods such as game controllers.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

QInputDeviceIntegration Class

  • Header: QInputDeviceIntegration

  • CMake:

    find_package(Qt6 REQUIRED COMPONENTS 3dinput)

    target_link_libraries(mytarget PRIVATE Qt6::3dinput)

  • qmake: QT += 3dinput

  • Inherits: QObject

  • Inherited By:

Detailed Description

 

Member Function Documentation

 

[explicit protected] QInputDeviceIntegration::QInputDeviceIntegration(QObject *parent = nullptr)

Creates a new QInputDeviceIntegration with parent.

[pure virtual] Qt3DInput::QAbstractPhysicalDevice *QInputDeviceIntegration::createPhysicalDevice(const QString &name)

Create the Physical device identified by name.

If not recognized return nullptr

void QInputDeviceIntegration::initialize(Qt3DInput::QInputAspect *aspect)

Called by the InputAspect object after the integration has been created with aspect.

[protected] Qt3DInput::QInputAspect *QInputDeviceIntegration::inputAspect() const

QInputDeviceIntegration::inputAspect Returns the Input Aspect associated with the InputDeviceIntegration

[pure virtual] QAbstractPhysicalDeviceBackendNode *QInputDeviceIntegration::physicalDevice(Qt3DCore::QNodeId id) const

Returns the QAbstractPhysicalDevice identified by the given id if it is related to this QInputDeviceIntegration.

[pure virtual] QList<Qt3DCore::QNodeId> QInputDeviceIntegration::physicalDevices() const

Returns the list of node ids for physical devices associated with this QInputDeviceIntegration.

[protected] void QInputDeviceIntegration::registerBackendType(const QMetaObject &metaObject, const Qt3DCore::QBackendNodeMapperPtr &functor)

Registers a corresponding backend class for this front end implementation with metaObject and functor.

Vous avez aimé ce tutoriel ? Alors partagez-le en cliquant sur les boutons suivants : Viadeo Twitter Facebook Share on Google+