QAxis stores QAbstractAxisInputs used to trigger an input event. More...
| Header: | #include <QAxis> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS 3dinput)target_link_libraries(mytarget PRIVATE Qt6::3dinput) |
| qmake: | QT += 3dinput |
| In QML: | Axis |
| Inherits: | Qt3DCore::QNode |
| Status: | Deprecated |
| QAxis(Qt3DCore::QNode *parent = nullptr) | |
| void | addInput(Qt3DInput::QAbstractAxisInput *input) |
| QList<Qt3DInput::QAbstractAxisInput *> | inputs() const |
| void | removeInput(Qt3DInput::QAbstractAxisInput *input) |
| float | value() const |
| void | valueChanged(float value) |
Constructs a new QAxis instance with parent.
[read-only] value : const floatThe value of the axis.
Access functions:
| float | value() const |
Notifier signal:
| void | valueChanged(float value) |
[explicit] QAxis::QAxis(Qt3DCore::QNode
*parent = nullptr)Constructs a new QAxis instance with parent parent.
QAxis::addInput Adds an input for the axis.
See also Qt3DInput::QAbstractAxisInput.
QAxis::inputs
Returns vector of all inputs added to the axis.
QAxis::removeInput
Removes an input from the axis.
See also Qt3DInput::QAbstractAxisInput.
As part of the free Business evaluation, we offer a free welcome call for companies, to talk about your requirements, and how the Felgo SDK & Services can help you. Just sign up and schedule your call.
Sign up now to start your free Business evaluation: