QAxisSetting stores settings for the specified list of Axis. More...
Header: | #include <QAxisSetting> |
CMake: | find_package(Qt6 COMPONENTS 3dinput REQUIRED) target_link_libraries(mytarget PRIVATE Qt6::3dinput) |
qmake: | QT += 3dinput |
Since: | Qt 5.5 |
Instantiated By: | AxisSetting |
Inherits: | Qt3DCore::QNode |
QAxisSetting(Qt3DCore::QNode *parent = nullptr) | |
QList<int> | axes() const |
float | deadZoneRadius() const |
bool | isSmoothEnabled() const |
void | setAxes(const QList<int> &axes) |
void | setDeadZoneRadius(float deadZoneRadius) |
void | setSmoothEnabled(bool enabled) |
void | axesChanged(const QList<int> &axes) |
void | deadZoneRadiusChanged(float deadZoneRadius) |
void | smoothChanged(bool smooth) |
Stores the dead zone associated with this axis and defines if smoothing is enabled
Access functions:
QList<int> | axes() const |
void | setAxes(const QList<int> &axes) |
Notifier signal:
void | axesChanged(const QList<int> &axes) |
Access functions:
float | deadZoneRadius() const |
void | setDeadZoneRadius(float deadZoneRadius) |
Notifier signal:
void | deadZoneRadiusChanged(float deadZoneRadius) |
Access functions:
bool | isSmoothEnabled() const |
void | setSmoothEnabled(bool enabled) |
Notifier signal:
void | smoothChanged(bool smooth) |
Constructs a new QAxisSetting instance with parent.
[signal]
void QAxisSetting::axesChanged(const QList<int> &axes)
This signal is emitted when the axes associated with the axis setting is changed to axes.
Note: Notifier signal for property axes.
[signal]
void QAxisSetting::deadZoneRadiusChanged(float deadZoneRadius)
This signal is emitted when the Dead Zone radius associated with the axis setting is changed to deadZoneRadius.
Note: Notifier signal for property deadZoneRadius.
[slot]
void QAxisSetting::setAxes(const QList<int> &axes)
Set the current axes of the QAxisSetting instance to axes.
Note: Setter function for property axes.
See also axes().
[slot]
void QAxisSetting::setDeadZoneRadius(float deadZoneRadius)
Set the current dead zone radius of the QAxisSetting instance to deadZoneRadius.
Note: Setter function for property deadZoneRadius.
See also deadZoneRadius().
[slot]
void QAxisSetting::setSmoothEnabled(bool enabled)
Set the current state of the QAxisSettings smoothing to enabled.
Note: Setter function for property smooth.
See also isSmoothEnabled().
[signal]
void QAxisSetting::smoothChanged(bool smooth)
This signal is emitted when the smoothing state is changed to smooth.
Note: Notifier signal for property smooth.
QAxisSetting::axes Returns the current list of Axis these settings apply to.
Note: Getter function for property axes.
See also setAxes().
QAxisSetting::deadZoneRadius Returns the set dead zone radius.
Note: Getter function for property deadZoneRadius.
See also setDeadZoneRadius().
QAxisSetting::isSmoothEnabled Returns if smoothing is enabled.
Note: Getter function for property smooth.
© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-6.2/qt3dinput-qaxissetting.html