QAnalogAxisInput Class

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

该类在 Qt 5.7 引入。

特性

公共函数

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

公共槽

void setAxis (int axis )

信号

void axisChanged (int axis )

详细描述

特性文档编制

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)

Constructs a new QAnalogAxisInput instance with parent .