QAbstractAxisInput Class

class Qt3DInput ::QAbstractAxisInput

QAbstractActionInput is the base class for all Axis Input. 更多...

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

特性

公共函数

Qt3DInput::QAbstractPhysicalDevice * sourceDevice () const

公共槽

void setSourceDevice (Qt3DInput::QAbstractPhysicalDevice * sourceDevice )

信号

void sourceDeviceChanged (Qt3DInput::QAbstractPhysicalDevice * sourceDevice )

详细描述

特性文档编制

sourceDevice : Qt3DInput::QAbstractPhysicalDevice *

The source device for the QAbstractAxisInput .

访问函数:

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

通知程序信号:

void sourceDeviceChanged (Qt3DInput::QAbstractPhysicalDevice * sourceDevice )