Axis QML Type
QML frontend for the Qt3DInput::QAxis C++ class. More...
|Import Statement:||import Qt3D.Input 2.15|
Links a set of AbstractAxisInputs that trigger the same event.
inputs : list<AbstractAxisInput>
the list of AbstractAxisInput that can trigger this Axis.
scale : real
The amount to scale the axis value by when accumulating. This can be thought of as the maximum velocity or acceleration the axis can control.
[read-only] value : int
Holds the value accumulated from the sourceAxis.
[read-only] velocity : real
Returns the velocity. If the sourceAxisType is set to Velocity this is simply the value of the source axis multiplied by the scale. If the sourceAxisType is set to Acceleration, the velocity is integrated using the source axis' value as an acceleration.
© 2023 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.