QAbstractActionInput is the base class for all Axis Input. 更多...
头: | #include <Qt3DInput/QAbstractAxisInput> |
CMake: |
find_package(Qt6 COMPONENTS 3dinput REQUIRED)
target_link_libraries(mytarget PRIVATE Qt6::3dinput) |
qmake: | QT += 3dinput |
Since: | Qt 5.5 |
继承: | Qt3DCore::QNode |
继承者: | Qt3DInput::QAnalogAxisInput and Qt3DInput::QButtonAxisInput |
Qt3DInput::QAbstractPhysicalDevice * | sourceDevice () const |
void | setSourceDevice (Qt3DInput::QAbstractPhysicalDevice * sourceDevice ) |
void | sourceDeviceChanged (Qt3DInput::QAbstractPhysicalDevice * sourceDevice ) |
The source device for the QAbstractAxisInput .
访问函数:
Qt3DInput::QAbstractPhysicalDevice * | sourceDevice () const |
void | setSourceDevice (Qt3DInput::QAbstractPhysicalDevice * sourceDevice ) |
通知程序信号:
void | sourceDeviceChanged (Qt3DInput::QAbstractPhysicalDevice * sourceDevice ) |