Qt3DInput::QAbstractAxisInput Class

class Qt3DInput::QAbstractAxisInput

QAbstractActionInput 是所有轴输入的基类。更多

头文件: #include <Qt3DInput/QAbstractAxisInput>
CMake: find_package(Qt6 REQUIRED COMPONENTS 3dinput)
target_link_libraries(mytarget PRIVATE Qt6::3dinput)
qmake: QT += 3dinput
继承: Qt3DCore::QNode
继承于

Qt3DInput::QAnalogAxisInputQt3DInput::QButtonAxisInput

状态:已废弃

属性

公共功能

Qt3DInput::QAbstractPhysicalDevice *sourceDevice() const

公共插槽

void setSourceDevice(Qt3DInput::QAbstractPhysicalDevice *sourceDevice)

信号

void sourceDeviceChanged(Qt3DInput::QAbstractPhysicalDevice *sourceDevice)

详细说明

属性文档

sourceDevice : Qt3DInput::QAbstractPhysicalDevice*

QAbstractAxisInput 的源设备。

访问功能:

Qt3DInput::QAbstractPhysicalDevice *sourceDevice() const
void setSourceDevice(Qt3DInput::QAbstractPhysicalDevice *sourceDevice)

通知信号:

void sourceDeviceChanged(Qt3DInput::QAbstractPhysicalDevice *sourceDevice)

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