QAxis Class
(Qt3DInput::QAxis)QAxis stores QAbstractAxisInputs used to trigger an input event. 更多...
头文件: | #include <QAxis> |
qmake: | QT += 3dinput |
开始支持版本: | Qt 5.7 |
Instantiated By: | Axis |
基类: | Qt3DCore::QNode |
属性
- value : const float
- 3 个属性继承自 Qt3DCore::QNode
- 1 个属性继承自 QObject
公有函数
QAxis(Qt3DCore::QNode *parent = nullptr) | |
void | addInput(QAbstractAxisInput *input) |
QVector<QAbstractAxisInput *> | inputs() const |
void | removeInput(QAbstractAxisInput *input) |
float | value() const |
- 11 个公有函数继承自 Qt3DCore::QNode
- 32 个公有函数继承自 QObject
信号
void | valueChanged(float value) |
- 4 个信号继承自 Qt3DCore::QNode
- 2 个信号继承自 QObject
其他继承的成员
- 3 个公有槽函数继承自 Qt3DCore::QNode
- 1 个公有槽函数继承自 QObject
- 1 个公有变量继承自 QObject
- 10 个静态公有成员继承自 QObject
- 2 个受保护的函数继承自 Qt3DCore::QNode
- 9 个受保护的函数继承自 QObject
- 2 个受保护的变量继承自 QObject
详细描述
Constructs a new QAxis instance with parent.
QAxis stores QAbstractAxisInputs used to trigger an input event.
属性
value : const float
The value of the axis.
访问函数:
float | value() const |
Notifier signal:
void | valueChanged(float value) |
成员函数
QAxis::QAxis(Qt3DCore::QNode *parent = nullptr)
Constructs a new QAxis instance with parent parent.
void QAxis::addInput(QAbstractAxisInput *input)
QAxis::addInput Adds an input for the axis.
参见 Qt3DInput::QAbstractAxisInput.
QVector<QAbstractAxisInput *> QAxis::inputs() const
QAxis::inputs
Returns vector of all inputs added to the axis.
void QAxis::removeInput(QAbstractAxisInput *input)
QAxis::removeInput
Removes an input from the axis.