In questa pagina

Axis QML Type

Frontend QML per la classe C++ ` Qt3DInput::QAxis `. Maggiori informazioni...

Import Statement: import Qt3D.Input 2.12
In C++: QAxis
Status: Deprecated

Questo tipo è deprecato. Si sconsiglia vivamente di utilizzarlo nel codice nuovo.

Proprietà

Descrizione dettagliata

Collega un insieme di AbstractAxisInputs che attivano lo stesso evento.

Documentazione delle proprietà

buttons : list<var>

I pulsanti che possono attivare questa azione

inputs : list<AbstractAxisInput>

l'elenco degli oggetti `AbstractAxisInput` in grado di attivare questo asse.

scale : real

Il fattore di scala da applicare al valore dell'asse durante l'accumulo. Può essere considerato come la velocità o l'accelerazione massima che l'asse è in grado di controllare.

value : int [read-only]

Contiene il valore accumulato dall'asse sourceAxis.

velocity : real [read-only]

Restituisce la velocità. Se sourceAxisType è impostato su Velocity, si tratta semplicemente del valore dell'asse sorgente moltiplicato per la scala. Se sourceAxisType è impostato su Acceleration, la velocità viene integrata utilizzando il valore dell'asse sorgente come accelerazione.

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