En esta página

Qt3DInput::QInputAspect Class

class Qt3DInput::QInputAspect

Se encarga de crear dispositivos físicos y gestionar las tareas relacionadas. Más...

Encabezado: #include <qinputaspect.h>
CMake: find_package(Qt6 REQUIRED COMPONENTS 3dinput)
target_link_libraries(mytarget PRIVATE Qt6::3dinput)
qmake: QT += 3dinput
Heredado de: Qt3DCore::QAbstractAspect
Estado: Obsoleta

Esta clase está obsoleta. Se desaconseja encarecidamente su uso en código nuevo.

Funciones públicas

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

Descripción detallada

QInputAspect se encarga de crear dispositivos físicos. También es el objeto responsable de establecer las tareas que se ejecutarán en un momento determinado a partir de la configuración de entrada actual.

Documentación de las funciones de miembro

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

Crea un nuevo objeto `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 disponibles; si no se encuentra, devuelve un nullptr.

Nota: El autor de la llamada es responsable de la titularidad.

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