ActionInput QML Type
QML-Frontend für die Klasse Qt3DInput::QActionInput C++. Mehr...
Import Statement: | import Qt3D.Input 2.8 |
In C++: | QActionInput |
Inherits: | |
Status: | Deprecated |
Eigenschaften
- buttons : list<int>
- sourceDevice : AbstractPhysicalDevice
Signale
- buttonsChanged(const QList<int> &buttons)
- sourceDeviceChanged()
Detaillierte Beschreibung
Verknüpft ein physisches Gerät und ausgewählte Tasten darauf, die diese Aktion auslösen können.
Jeder Aktionseingang kann durch eine oder mehrere Schaltflächen auf einem Quellgerät ausgelöst werden
ActionInput { sourceDevice: keyboardSourceDevice buttons: [Qt.Key_A] }
ActionInput { sourceDevice: keyboardSourceDevice buttons: [Qt.Key_A,Qt.Key_B] }
Eigenschaft Dokumentation
sourceDevice : AbstractPhysicalDevice |
Das aktuelle Quellgerät des ActionInput
Signal Dokumentation
buttonsChanged(const QList<int> &buttons) |
Dieses Signal wird ausgegeben, wenn die buttons, die mit dem Action-Eingang verbunden ist, geändert wird.
Der entsprechende Handler ist onbuttonsChanged
Hinweis: Der entsprechende Handler ist onButtonsChanged
.
sourceDeviceChanged() |
Dieses Signal wird ausgegeben, wenn das mit dem Aktionseingang verknüpfte Quellgerät gewechselt wird.
Der entsprechende Handler ist onSourceDeviceChanged
Hinweis: Der entsprechende Handler ist onSourceDeviceChanged
.
© 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.