QAxis Class▲
-
Header: QAxis
-
Since: Qt 5.7
-
CMake:
find_package(Qt6 REQUIRED COMPONENTS 3dinput)
target_link_libraries(mytarget PRIVATE Qt6::3dinput)
-
qmake: QT += 3dinput
-
Inherited By:
-
Instantiated By: qml-qt3d-input-axis.xml
-
Inherits: Qt3DCore::QNode
Detailed Description▲
Constructs a new QAxis instance with parent.
Property Documentation▲
[read-only] value : const float▲
The value of the axis.
Access functions:
-
float value() const
Notifier signal:
-
void valueChanged(float value)
Member Function Documentation▲
[explicit] QAxis::QAxis(Qt3DCore::QNode *parent = nullptr)▲
Constructs a new QAxis instance with parent parent.
void QAxis::addInput(Qt3DInput::QAbstractAxisInput *input)▲
QList<Qt3DInput::QAbstractAxisInput *> QAxis::inputs() const▲
QAxis::inputs
Returns vector of all inputs added to the axis.