QAnalogAxisInput Class

class Qt3DInput::QAnalogAxisInput

Ein Achseneingang, der durch einen Analogeingang gesteuert wird Der Achsenwert wird wie ein herkömmlicher Analogeingang, z. B. ein Joystick, gesteuert. Mehr...

Kopfzeile: #include <Qt3DInput/QAnalogAxisInput>
CMake: find_package(Qt6 REQUIRED COMPONENTS 3dinput)
target_link_libraries(mytarget PRIVATE Qt6::3dinput)
qmake: QT += 3dinput
In QML: AnalogAxisInput
Vererbt: Qt3DInput::QAbstractAxisInput
Status: Veraltet

Eigenschaften

Öffentliche Funktionen

QAnalogAxisInput(Qt3DCore::QNode *parent = nullptr)
int axis() const

Öffentliche Slots

void setAxis(int axis)

Signale

void axisChanged(int axis)

Detaillierte Beschreibung

Dokumentation der Eigenschaften

axis : int

Achse für den Analogeingang.

Funktionen aufrufen:

int axis() const
void setAxis(int axis)

Meldesignal:

void axisChanged(int axis)

Siehe auch Qt3DInput::QMouseDevice::Axis.

Dokumentation der Mitgliedsfunktionen

[explicit] QAnalogAxisInput::QAnalogAxisInput(Qt3DCore::QNode *parent = nullptr)

Konstruiert eine neue QAnalogAxisInput-Instanz mit parent.

© 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.