QAnalogAxisInput Class

( Qt3DInput::QAnalogAxisInput )

An axis input controlled by an analog input The axis value is controlled like a traditional analog input such as a joystick. 更多...

头: #include <Qt3DInput/QAnalogAxisInput>
qmake: QT += 3dinput
Since: Qt 5.7
实例化: AnalogAxisInput
继承: Qt3DInput::QAbstractAxisInput

特性

公共函数

QAnalogAxisInput (Qt3DCore::QNode * parent = nullptr)
int axis () const

公共槽

void setAxis (int axis )

信号

void axisChanged (int axis )

静态公共成员

const QMetaObject staticMetaObject

额外继承成员

详细描述

An axis input controlled by an analog input The axis value is controlled like a traditional analog input such as a joystick.

特性文档编制

axis : int

Axis for the analog input.

访问函数:

int axis () const
void setAxis (int axis )

通知程序信号:

void axisChanged (int axis )

另请参阅 Qt3DInput::QMouseDevice::Axis .

成员函数文档编制

QAnalogAxisInput:: QAnalogAxisInput ( Qt3DCore::QNode * parent = nullptr)

构造新的 QAnalogAxisInput 实例与 parent .