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

QAxisSetting Class

QAxisSetting stores settings for the specified list of Axis.

This class was introduced in Qt 5.5.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

QAxisSetting Class

  • Header: QAxisSetting

  • Since: Qt 5.5

  • CMake:

    find_package(Qt6 REQUIRED COMPONENTS 3dinput)

    target_link_libraries(mytarget PRIVATE Qt6::3dinput)

  • qmake: QT += 3dinput

  • Inherited By:

  • Instantiated By: qml-qt3d-input-axissetting.xml

  • Inherits: Qt3DCore::QNode

Detailed Description

Stores the dead zone associated with this axis and defines if smoothing is enabled

Property Documentation

 

axes : QList<int>

Access functions:

Notifier signal:

deadZoneRadius : float

Access functions:

Notifier signal:

smooth : bool

Access functions:

Notifier signal:

Member Function Documentation

 

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

Constructs a new QAxisSetting instance with parent.

QList<int> QAxisSetting::axes() const

QAxisSetting::axes Returns the current list of Axis these settings apply to.

Getter function for property axes.

See Also

See also setAxes()

void QAxisSetting::axesChanged(const QList<int> &axes)

This signal is emitted when the axes associated with the axis setting is changed to axes.

Notifier signal for property axes.

float QAxisSetting::deadZoneRadius() const

QAxisSetting::deadZoneRadius Returns the set dead zone radius.

Getter function for property deadZoneRadius.

See Also

See also setDeadZoneRadius()

void QAxisSetting::deadZoneRadiusChanged(float deadZoneRadius)

This signal is emitted when the Dead Zone radius associated with the axis setting is changed to deadZoneRadius.

Notifier signal for property deadZoneRadius.

bool QAxisSetting::isSmoothEnabled() const

QAxisSetting::isSmoothEnabled Returns if smoothing is enabled.

Getter function for property smooth.

void QAxisSetting::setAxes(const QList<int> &axes)

Set the current axes of the QAxisSetting instance to axes.

Setter function for property axes.

See Also

See also axes()

void QAxisSetting::setDeadZoneRadius(float deadZoneRadius)

Set the current dead zone radius of the QAxisSetting instance to deadZoneRadius.

Setter function for property deadZoneRadius.

See Also

See also deadZoneRadius()

void QAxisSetting::setSmoothEnabled(bool enabled)

Set the current state of the QAxisSettings smoothing to enabled.

Setter function for property smooth.

See Also

See also isSmoothEnabled()

void QAxisSetting::smoothChanged(bool smooth)

This signal is emitted when the smoothing state is changed to smooth.

Notifier signal for property smooth.

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