QAxisSetting Class▲
-
Header: QAxisSetting
-
Since: Qt 5.5
-
CMake:
find_package(Qt6 REQUIRED COMPONENTS 3dinput)
target_link_libraries(mytarget PRIVATE Qt6::3dinput)
-
qmake: QT += 3dinput
-
Inherited By:
-
Instantiated By: qml-qt3d-input-axissetting.xml
-
Inherits: Qt3DCore::QNode
Detailed Description▲
Stores the dead zone associated with this axis and defines if smoothing is enabled
Property Documentation▲
axes : QList<int>▲
deadZoneRadius : float▲
Access functions:
-
float deadZoneRadius() const
-
void setDeadZoneRadius(float deadZoneRadius)
Notifier signal:
-
void deadZoneRadiusChanged(float deadZoneRadius)
smooth : bool▲
Access functions:
-
bool isSmoothEnabled() const
-
void setSmoothEnabled(bool enabled)
Notifier signal:
-
void smoothChanged(bool smooth)
Member Function Documentation▲
[explicit] QAxisSetting::QAxisSetting(Qt3DCore::QNode *parent = nullptr)▲
Constructs a new QAxisSetting instance with parent.
QList<int> QAxisSetting::axes() const▲
QAxisSetting::axes Returns the current list of Axis these settings apply to.
Getter function for property axes.
See Also▲
See also setAxes()
void QAxisSetting::axesChanged(const QList<int> &axes)▲
This signal is emitted when the axes associated with the axis setting is changed to axes.
Notifier signal for property axes.
float QAxisSetting::deadZoneRadius() const▲
QAxisSetting::deadZoneRadius Returns the set dead zone radius.
Getter function for property deadZoneRadius.
See Also▲
See also setDeadZoneRadius()
void QAxisSetting::deadZoneRadiusChanged(float deadZoneRadius)▲
This signal is emitted when the Dead Zone radius associated with the axis setting is changed to deadZoneRadius.
Notifier signal for property deadZoneRadius.
bool QAxisSetting::isSmoothEnabled() const▲
QAxisSetting::isSmoothEnabled Returns if smoothing is enabled.
Getter function for property smooth.
void QAxisSetting::setAxes(const QList<int> &axes)▲
Set the current axes of the QAxisSetting instance to axes.
Setter function for property axes.
See Also▲
See also axes()
void QAxisSetting::setDeadZoneRadius(float deadZoneRadius)▲
Set the current dead zone radius of the QAxisSetting instance to deadZoneRadius.
Setter function for property deadZoneRadius.
See Also▲
See also deadZoneRadius()
void QAxisSetting::setSmoothEnabled(bool enabled)▲
Set the current state of the QAxisSettings smoothing to enabled.
Setter function for property smooth.
See Also▲
See also isSmoothEnabled()
void QAxisSetting::smoothChanged(bool smooth)▲
This signal is emitted when the smoothing state is changed to smooth.
Notifier signal for property smooth.