Qt3DInput::QAnalogAxisInput Class
class Qt3DInput::QAnalogAxisInput由模拟输入控制的轴输入 轴值的控制类似于操纵杆等传统模拟输入。更多
头文件: | #include <Qt3DInput/QAnalogAxisInput> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS 3dinput) target_link_libraries(mytarget PRIVATE Qt6::3dinput) |
qmake: | QT += 3dinput |
在 QML 中: | AnalogAxisInput |
继承: | Qt3DInput::QAbstractAxisInput |
状态: | 已废弃 |
属性
- axis : int
公共功能
QAnalogAxisInput(Qt3DCore::QNode *parent = nullptr) | |
int | axis() const |
公共插槽
void | setAxis(int axis) |
信号
void | axisChanged(int axis) |
属性文档
axis : int
模拟输入的轴。
访问功能:
int | axis() const |
void | setAxis(int axis) |
提示信号:
void | axisChanged(int axis) |
成员函数文档
[explicit]
QAnalogAxisInput::QAnalogAxisInput(Qt3DCore::QNode *parent = nullptr)
构建一个新的 QAnalogAxisInput 实例,parent 。
© 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.