Qt 3D Input QML Types

自 Qt3D.Input 6.8 起,该模块已被弃用。我们强烈建议不要在新代码中使用它。

要导入并使用该模块的 QML 类型,请使用以下语句:

import Qt3D.Input 2.9

QML 类型

AbstractActionInput

抽象 Qt3DInput::QAbstractActionInput C++ 类的 QML 前端

AbstractAxisInput

抽象 QAbstractAxisInput C++ 类的 QML 前端

AbstractPhysicalDevice

抽象 Qt3DInput::QAbstractPhysicalDevice C++ 类的 QML 前端

Action

Qt3DInput::QAction C++ 类的 QML 前端

ActionInput

Qt3DInput::QActionInput C++ 类的 QML 前端

AnalogAxisInput

Qt3DInput::QActionInput C++ 类的 QML 前端

Axis

Qt3DInput::QAxis C++ 类的 QML 前端

AxisAccumulator

Qt3DInput::QAxisAccumulator C++ 类的 QML 前端

AxisSetting

Qt3DInput::QAxisSetting C++ 类的 QML 前端

ButtonAxisInput

QButtonAxisInput C++ 类的 QML 前端。轴值由按钮而非传统的模拟输入(如操纵杆)控制

InputChord

Qt3DInput::QInputChord C++ 类的 QML 前端。

InputSequence

Qt3DInput::QInputSequence C++ 类的 QML 前端

InputSettings

持有指向输入事件源对象的指针

KeyEvent

QKeyEvent C++ 类的 QML 前端

KeyboardDevice

QKeyboardDevice C++ 类的 QML 前端

KeyboardHandler

QKeyboardHandler C++ 类的 QML 前端

LogicalDevice

Qt3DInput::QLogicalDevice C++ 类的 QML 前端

MouseDevice

将鼠标事件委托给附加的 MouseHandler 对象

MouseEvent

提供描述鼠标事件的参数

MouseHandler

提供鼠标事件通知

WheelEvent

包含描述鼠标滚轮事件的参数

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