QAxis stores QAbstractAxisInputs used to trigger an input event. 更多...
| 頭: | #include <QAxis> |
| qmake: | QT += 3dinput |
| Since: | Qt 5.7 |
| 實例化: | Axis |
| 繼承: | Qt3DCore::QNode |
| QAxis (Qt3DCore::QNode * parent = nullptr) | |
| void | addInput (QAbstractAxisInput * input ) |
| QVector<QAbstractAxisInput *> | inputs () const |
| void | removeInput (QAbstractAxisInput * input ) |
| float | value () const |
| void | valueChanged (float value ) |
構造新的 QAxis 實例與 parent .
QAxis stores QAbstractAxisInputs used to trigger an input event.
The value of the axis.
訪問函數:
| float | value () const |
通知程序信號:
| void | valueChanged (float value ) |
構造新的 QAxis instance with parent parent .
QAxis::addInput Adds an input for the axis.
另請參閱 Qt3DInput::QAbstractAxisInput .
QAxis::inputs
Returns vector of all inputs added to the axis.
QAxis::removeInput
Removes an input from the axis.