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 for the analog input.
访问函数:
int | axis () const |
void | setAxis (int axis ) |
通知程序信号:
void | axisChanged (int axis ) |
另请参阅 Qt3DInput::QMouseDevice::Axis .
Constructs a new QAnalogAxisInput instance with parent .