Qt3DInput Namespace

包含支持用户输入的类。更多

头文件: #include <Qt3DInput>
CMake: find_package(Qt6 REQUIRED COMPONENTS 3dinput)
target_link_libraries(mytarget PRIVATE Qt6::3dinput)
qmake: QT += 3dinput
状态:已废弃

类别

类型

详细说明

QAbstractActionInput

QAbstractActionInput 是动作输入和所有聚合动作输入的基类。更多

QAbstractAxisInput

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

QAbstractPhysicalDevice

QAbstractPhysicalDevice 是 Qt3d 用于与任意输入设备交互的基类。更多

QAbstractPhysicalDeviceProxy

Qt3DInput::QAbstractPhysicalDeviceProxy 作为实际的 Qt3DInput::QQAbstractPhysicalDevice 设备的代理。更多

QAction

链接一组触发相同事件的QAbstractActionInput更多

QActionInput

QActionInput 存储用于触发输入事件的设备和按钮。更多

QAnalogAxisInput(模拟轴输入

由模拟输入控制的轴输入。轴值的控制类似于传统的模拟输入,如操纵杆。更多

QAxis

QAxis 存储用于触发输入事件的 QAbstractAxisInputs。更多

QAxisAccumulator

QAxisAccumulator 处理来自QAxis 的速度或加速度数据。更多...

QAxisSetting

QAxisSetting 存储指定轴列表的设置。更多

QButtonAxisInput

由按钮控制的轴输入 轴值由按钮控制,而非传统的模拟输入(如操纵杆)。更多

QInputAspect

负责创建物理设备并处理相关工作。更多

QInputChord

QInputChord 表示一组必须同时触发的QAbstractActionInput更多

QInputDeviceIntegration

用于定义游戏控制器等新输入法的抽象基类。更多

QInputSequence

QInputSequence 表示一组必须一个接一个触发的QAbstractActionInput更多

QInputSettings

QInputSettings 类保存输入事件源对象的指针。更多

QKeyEvent

由 KeyBoardHandler 发送的 QKeyEvent 事件类型。更多

QKeyboardDevice

QKeyboardDevice 负责向附加的 QQKeyboardHandler 对象发送键盘事件。更多

QKeyboardHandler

提供键盘事件通知。更多

QLogicalDevice

QLogicalDevice 允许用户定义一组他们希望在应用程序中使用的操作。更多

QMouseDevice

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

QMouseEvent

Qt3DCore::QMouseEvent 包含描述鼠标事件的参数。更多

QMouseHandler

当附加到QMouseDevice 实例时,提供了一种通知鼠标事件的方法。更多

QWheelEvent

QWheelEvent 类包含描述鼠标滚轮事件的参数。更多

类型文档

QKeyEventPtr

QKeyEvent 的共享指针。

QMouseEventPtr

QMouseEvent 的共享指针。

QWheelEventPtr

QWheelEvent 的共享指针。

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