En esta página

Qt3DInput::QInputAspect Class

class Qt3DInput::QInputAspect

Responsable de la creación de dispositivos físicos y de la gestión de los trabajos asociados. Más...

Cabecera: #include <QInputAspect>
CMake: find_package(Qt6 REQUIRED COMPONENTS 3dinput)
target_link_libraries(mytarget PRIVATE Qt6::3dinput)
qmake: QT += 3dinput
Hereda: Qt3DCore::QAbstractAspect
Status: Obsoleto

Funciones Públicas

QInputAspect(QObject *parent = nullptr)
QStringList availablePhysicalDevices() const
Qt3DInput::QAbstractPhysicalDevice *createPhysicalDevice(const QString &name)

Descripción Detallada

QInputAspect es responsable de la creación de dispositivos físicos. También es el objeto responsable de establecer los trabajos a ejecutar en un momento determinado a partir de la configuración de entrada actual.

Documentación de Funciones Miembro

[explicit] QInputAspect::QInputAspect(QObject *parent = nullptr)

Construye un nuevo QInputAspect con parent.

QStringList QInputAspect::availablePhysicalDevices() const

Devuelve una lista de todos los dispositivos físicos disponibles.

Qt3DInput::QAbstractPhysicalDevice *QInputAspect::createPhysicalDevice(const QString &name)

Crea un dispositivo físico identificado por name utilizando las integraciones de dispositivos de entrada presentes devuelve un nullptr si no se encuentra.

Nota: El llamante es responsable de la propiedad.

© 2026 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.