QAxisSetting Class
class Qt3DInput::QAxisSettingQAxisSetting speichert Einstellungen für die angegebene Liste von Achsen. Mehr...
Kopfzeile: | #include <QAxisSetting> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS 3dinput) target_link_libraries(mytarget PRIVATE Qt6::3dinput) |
qmake: | QT += 3dinput |
In QML: | AxisSetting |
Vererbt: | Qt3DCore::QNode |
Status: | Veraltet |
Eigenschaften
- axes : QList<int>
- deadZoneRadius : float
- smooth : bool
Öffentliche Funktionen
QAxisSetting(Qt3DCore::QNode *parent = nullptr) | |
QList<int> | axes() const |
float | deadZoneRadius() const |
bool | isSmoothEnabled() const |
Öffentliche Slots
void | setAxes(const QList<int> &axes) |
void | setDeadZoneRadius(float deadZoneRadius) |
void | setSmoothEnabled(bool enabled) |
Signale
void | axesChanged(const QList<int> &axes) |
void | deadZoneRadiusChanged(float deadZoneRadius) |
void | smoothChanged(bool smooth) |
Detaillierte Beschreibung
Speichert die tote Zone, die mit dieser Achse verbunden ist, und legt fest, ob die Glättung aktiviert ist
Dokumentation der Eigenschaft
axes : QList<int>
Zugriffsfunktionen:
Melder-Signal:
void | axesChanged(const QList<int> &axes) |
deadZoneRadius : float
Zugriffsfunktionen:
float | deadZoneRadius() const |
void | setDeadZoneRadius(float deadZoneRadius) |
Melder-Signal:
void | deadZoneRadiusChanged(float deadZoneRadius) |
smooth : bool
Zugriffsfunktionen:
bool | isSmoothEnabled() const |
void | setSmoothEnabled(bool enabled) |
Melder-Signal:
void | smoothChanged(bool smooth) |
Member Function Dokumentation
[explicit]
QAxisSetting::QAxisSetting(Qt3DCore::QNode *parent = nullptr)
Konstruiert eine neue QAxisSetting-Instanz mit parent.
QList<int> QAxisSetting::axes() const
QAxisSetting::axes Gibt die aktuelle Liste der Achsen zurück, für die diese Einstellungen gelten.
Hinweis: Getter-Funktion für die Eigenschaft axes.
Siehe auch setAxes().
[signal]
void QAxisSetting::axesChanged(const QList<int> &axes)
Dieses Signal wird ausgegeben, wenn die mit der Achseneinstellung verbundene Achse auf axes geändert wird.
Hinweis: Meldesignal für die Eigenschaft axes.
float QAxisSetting::deadZoneRadius() const
QAxisSetting::deadZoneRadius Gibt den eingestellten Totzonenradius zurück.
Hinweis: Getter-Funktion für die Eigenschaft deadZoneRadius.
Siehe auch setDeadZoneRadius().
[signal]
void QAxisSetting::deadZoneRadiusChanged(float deadZoneRadius)
Dieses Signal wird ausgegeben, wenn der mit der Achseneinstellung verbundene Totzonenradius auf deadZoneRadius geändert wird.
Hinweis: Benachrichtigungssignal für die Eigenschaft deadZoneRadius.
bool QAxisSetting::isSmoothEnabled() const
QAxisSetting::isSmoothEnabled Gibt zurück, ob die Glättung aktiviert ist.
Hinweis: Getter-Funktion für die Eigenschaft smooth.
[slot]
void QAxisSetting::setAxes(const QList<int> &axes)
Setzt die aktuellen Achsen der Instanz QAxisSetting auf axes.
Hinweis: Setter-Funktion für die Eigenschaft axes.
Siehe auch axes().
[slot]
void QAxisSetting::setDeadZoneRadius(float deadZoneRadius)
Setzt den aktuellen Totzonenradius der Instanz QAxisSetting auf deadZoneRadius.
Hinweis: Setter-Funktion für die Eigenschaft deadZoneRadius.
Siehe auch deadZoneRadius().
[slot]
void QAxisSetting::setSmoothEnabled(bool enabled)
Setzt den aktuellen Status der QAxisSettings Glättung auf enabled.
Hinweis: Setter-Funktion für die Eigenschaft smooth.
Siehe auch isSmoothEnabled().
[signal]
void QAxisSetting::smoothChanged(bool smooth)
Dieses Signal wird ausgegeben, wenn der Glättungszustand auf smooth geändert wird.
Hinweis: Meldersignal für die Eigenschaft smooth.
© 2025 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.