QAxisSetting Class

class Qt3DInput::QAxisSetting

QAxisSetting stores settings for the specified list of Axis. More...

Header: #include <QAxisSetting>
qmake: QT += 3dinput
Since: Qt 5.5
Instantiated By: AxisSetting
Inherits: Qt3DCore::QNode

This class was introduced in Qt 5.5.

Properties

Public Functions

QVector<int> axes() const
float deadZoneRadius() const
bool isSmoothEnabled() const

Public Slots

void setAxes(const QVector<int> &axes)
void setDeadZoneRadius(float deadZoneRadius)
void setSmoothEnabled(bool enabled)

Signals

void axesChanged(const QVector<int> &axes)
void deadZoneRadiusChanged(float deadZoneRadius)
void smoothChanged(bool smooth)

Detailed Description

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

Property Documentation

axes : QVector<int>

Access functions:

QVector<int> axes() const
void setAxes(const QVector<int> &axes)

Notifier signal:

void axesChanged(const QVector<int> &axes)

deadZoneRadius : float

Access functions:

float deadZoneRadius() const
void setDeadZoneRadius(float deadZoneRadius)

Notifier signal:

void deadZoneRadiusChanged(float deadZoneRadius)

smooth : bool

Access functions:

bool isSmoothEnabled() const
void setSmoothEnabled(bool enabled)

Notifier signal:

void smoothChanged(bool smooth)