QAbstractPhysicalDevice Class
class Qt3DInput::QAbstractPhysicalDeviceQAbstractPhysicalDevice는 Qt3d가 임의의 입력 장치와 상호 작용하는 데 사용하는 베이스 클래스입니다. 더 보기...
Header: | #include <QAbstractPhysicalDevice> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS 3dinput) target_link_libraries(mytarget PRIVATE Qt6::3dinput) |
qmake: | QT += 3dinput |
QML에서: | AbstractPhysicalDevice |
상속합니다: | Qt3DCore::QNode |
상속합니다: | Qt3DInput::QAbstractPhysicalDeviceProxy, Qt3DInput::QKeyboardDevice, 그리고 Qt3DInput::QMouseDevice |
Status: | Deprecated |
공용 함수
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 을 추가합니다.
[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
이 장치와 연관된 축 설정을 반환합니다.
[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 을 제거합니다.
© 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.