IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)

Axis QML Type

QML frontend for the Qt3DInput::QAxis C++ class.

This type was introduced in Qt 5.7.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

Axis QML Type

  • Import Statement: import Qt3D.Input 2.4

  • Since:: Qt 5.7

  • Instantiates:: QAxis

Detailed Description

Links a set of AbstractAxisInputs that trigger the same event.

Property Documentation

 

buttons : QVariantList

The Buttons that can trigger this Action

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.

Vous avez aimé ce tutoriel ? Alors partagez-le en cliquant sur les boutons suivants : Viadeo Twitter Facebook Share on Google+