Qt3DInput::QAbstractPhysicalDevice Class
class Qt3DInput::QAbstractPhysicalDeviceQAbstractPhysicalDevice는 Qt3d에서 임의의 입력 장치와 상호 작용하는 데 사용되는 기본 클래스입니다. 더 보기...
| 헤더: | #include <qabstractphysicaldevice.h> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS 3dinput) target_link_libraries(mytarget PRIVATE Qt6::3dinput) |
| qmake: | QT += 3dinput |
| QML에서: | AbstractPhysicalDevice |
| 상속: | Qt3DCore::QNode |
| 상속받는 클래스: | |
| 상태: | 사용 중단 |
이 클래스는 사용이 권장되지 않습니다. 새로운 코드에서는 이 클래스를 사용하지 않는 것을 강력히 권장합니다.
공개 함수
| QAbstractPhysicalDevice(Qt3DCore::QNode *parent = nullptr) | |
| void | addAxisSetting(Qt3DInput::QAxisSetting *axisSetting) |
| virtual int | axisCount() const |
| virtual int | axisIdentifier(const QString &name) const |
| virtual QStringList | axisNames() const |
| QList<Qt3DInput::QAxisSetting *> | axisSettings() const |
| virtual int | buttonCount() const |
| virtual int | buttonIdentifier(const QString &name) const |
| virtual QStringList | buttonNames() const |
| void | removeAxisSetting(Qt3DInput::QAxisSetting *axisSetting) |
멤버 함수 설명
[explicit] QAbstractPhysicalDevice::QAbstractPhysicalDevice(Qt3DCore::QNode *parent = nullptr)
parent 를 사용하여 새로운 QAbstractPhysicalDevice 인스턴스를 생성합니다.
void QAbstractPhysicalDevice::addAxisSetting(Qt3DInput::QAxisSetting *axisSetting)
이 장치에 axisSetting axisSetting 을 추가하십시오.
[virtual] int QAbstractPhysicalDevice::axisCount() const
이 장치가 가진 축의 수를 반환합니다.
[virtual] int QAbstractPhysicalDevice::axisIdentifier(const QString &name) const
해당 축 name 의 정수 식별자를 반환하며, 이 장치에 해당 축이 존재하지 않으면 -1을 반환합니다.
[virtual] QStringList QAbstractPhysicalDevice::axisNames() const
장치의 축 이름 목록을 반환합니다.
QList<Qt3DInput::QAxisSetting *> QAbstractPhysicalDevice::axisSettings() const
이 장치와 관련된 axisSettings를 반환합니다.
[virtual] int QAbstractPhysicalDevice::buttonCount() const
이 장치에 있는 버튼의 개수를 반환합니다.
[virtual] int QAbstractPhysicalDevice::buttonIdentifier(const QString &name) const
해당 버튼 name 의 정수 식별자를 반환하며, 이 장치에 해당 버튼이 존재하지 않으면 -1을 반환합니다.
[virtual] QStringList QAbstractPhysicalDevice::buttonNames() const
장치의 버튼 이름 목록을 반환합니다.
void QAbstractPhysicalDevice::removeAxisSetting(Qt3DInput::QAxisSetting *axisSetting)
이 장치에 대한 축 설정 axisSetting 을 제거하십시오.
© 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.