QAbstractPhysicalDeviceProxy Class

class Qt3DInput::QAbstractPhysicalDeviceProxy

Qt3DInput::QAbstractPhysicalDeviceProxy 는 실제 Qt3DInput::QQAbstractPhysicalDevice 디바이스의 프록시 역할을 합니다. 더 보기...

헤더: #include <QAbstractPhysicalDeviceProxy>
CMake: find_package(Qt6 REQUIRED COMPONENTS 3dinput)
target_link_libraries(mytarget PRIVATE Qt6::3dinput)
qmake: QT += 3dinput
상속합니다: Qt3DInput::QAbstractPhysicalDevice
상태: Deprecated

공용 함수

QString deviceName() const
Qt3DInput::QAbstractPhysicalDeviceProxy::DeviceStatus status() const

시그널

void statusChanged(Qt3DInput::QAbstractPhysicalDeviceProxy::DeviceStatus status)

상세 설명

Qt3DInput::QAbstractPhysicalDeviceProxy 는 사용자에게 물리적 디바이스를 쉽게 노출하는 데 사용할 수 있습니다. 이름에 따라 축과 버튼을 탐색할 필요성을 줄여줍니다.

일반적으로 서브클래싱을 통해 디바이스 이름을 설정하고 대상 디바이스의 다양한 축과 버튼에 대한 열거형을 정의하는 데 사용됩니다.

런타임에 상태 속성은 디바이스 이름과 일치하는 실제 디바이스가 생성될 수 있는지 여부를 반영하여 업데이트됩니다.

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