QInputAspect Class

class Qt3DInput::QInputAspect

물리적 장치를 만들고 관련 작업을 처리하는 일을 담당합니다. 더 보기...

Header: #include <QInputAspect>
CMake: find_package(Qt6 REQUIRED COMPONENTS 3dinput)
target_link_libraries(mytarget PRIVATE Qt6::3dinput)
qmake: QT += 3dinput
상속합니다: Qt3DCore::QAbstractAspect
상태: Deprecated

공용 함수

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

상세 설명

QInputAspect는 물리적 장치 생성을 담당합니다. 또한 현재 입력 설정에서 특정 시간에 실행할 작업을 설정하는 객체이기도 합니다.

멤버 함수 문서

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

parent 를 사용하여 새 QInputAspect를 구성합니다.

QStringList QInputAspect::availablePhysicalDevices() const

사용 가능한 모든 물리적 장치 목록을 반환합니다.

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

제시된 입력 장치 통합을 사용하여 name 으로 식별되는 실제 장치를 만들면 nullptr 이 반환되지 않습니다.

참고: 소유권에 대한 책임은 발신자에게 있습니다.

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