Qt3DInput::QInputDeviceIntegration Class
class Qt3DInput::QInputDeviceIntegrationClasse de base abstraite utilisée pour définir de nouvelles méthodes d'entrée telles que les contrôleurs de jeu. Plus d'informations...
| En-tête : | #include <QInputDeviceIntegration> |
| CMake : | find_package(Qt6 REQUIRED COMPONENTS 3dinput)target_link_libraries(mytarget PRIVATE Qt6::3dinput) |
| qmake : | QT += 3dinput |
| Hérite : | QObject |
| Statut : | Déclassé |
Fonctions publiques
| virtual Qt3DInput::QAbstractPhysicalDevice * | createPhysicalDevice(const QString &name) = 0 |
| void | initialize(Qt3DInput::QInputAspect *aspect) |
| virtual QAbstractPhysicalDeviceBackendNode * | physicalDevice(Qt3DCore::QNodeId id) const = 0 |
| virtual QList<Qt3DCore::QNodeId> | physicalDevices() const = 0 |
Fonctions protégées
| QInputDeviceIntegration(QObject *parent = nullptr) | |
| Qt3DInput::QInputAspect * | inputAspect() const |
| void | registerBackendType(const QMetaObject &metaObject, const Qt3DCore::QBackendNodeMapperPtr &functor) |
Documentation des fonctions membres
[explicit protected] QInputDeviceIntegration::QInputDeviceIntegration(QObject *parent = nullptr)
Crée une nouvelle QInputDeviceIntegration avec parent.
[pure virtual] Qt3DInput::QAbstractPhysicalDevice *QInputDeviceIntegration::createPhysicalDevice(const QString &name)
Créer le périphérique physique identifié par name.
S'il n'est pas reconnu, retourner nullptr
void QInputDeviceIntegration::initialize(Qt3DInput::QInputAspect *aspect)
Appelé par l'objet InputAspect après la création de l'intégration avec aspect.
[protected] Qt3DInput::QInputAspect *QInputDeviceIntegration::inputAspect() const
QInputDeviceIntegration::inputAspect Renvoie l'aspect d'entrée associé à l'InputDeviceIntegration.
[pure virtual] QAbstractPhysicalDeviceBackendNode *QInputDeviceIntegration::physicalDevice(Qt3DCore::QNodeId id) const
Renvoie l'adresse QAbstractPhysicalDevice identifiée par l'adresse id donnée si elle est liée à cette adresse QInputDeviceIntegration.
[pure virtual] QList<Qt3DCore::QNodeId> QInputDeviceIntegration::physicalDevices() const
Renvoie la liste des identifiants de nœuds pour les dispositifs physiques associés à ce site QInputDeviceIntegration.
[protected] void QInputDeviceIntegration::registerBackendType(const QMetaObject &metaObject, const Qt3DCore::QBackendNodeMapperPtr &functor)
Enregistre une classe backend correspondante pour cette implémentation frontale avec metaObject et functor.
© 2025 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.