class QAxisSetting

QAxisSetting stores settings for the specified list of Axis. More

Inheritance diagram of PySide6.Qt3DInput.Qt3DInput.QAxisSetting

Synopsis

Properties

Methods

Slots

Signals

Note

This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE

Detailed Description

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

Note

Properties can be used directly when from __feature__ import true_property is used or via accessor functions otherwise.

property axesᅟ: list of int
Access functions:
property deadZoneRadiusᅟ: float
Access functions:
property smoothᅟ: bool
Access functions:
__init__([parent=None])
Parameters:

parentQNode

Constructs a new QAxisSetting instance with parent.

axes()
Return type:

.list of int

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

See also

setAxes()

Getter of property axesᅟ .

axesChanged(axes)
Parameters:

axes – .list of int

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

Notification signal of property axesᅟ .

deadZoneRadius()
Return type:

float

QAxisSetting::deadZoneRadius Returns the set dead zone radius.

See also

setDeadZoneRadius()

Getter of property deadZoneRadiusᅟ .

deadZoneRadiusChanged(deadZoneRadius)
Parameters:

deadZoneRadius – float

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

Notification signal of property deadZoneRadiusᅟ .

isSmoothEnabled()
Return type:

bool

QAxisSetting::isSmoothEnabled Returns if smoothing is enabled.

Getter of property smoothᅟ .

setAxes(axes)
Parameters:

axes – .list of int

Set the current axes of the QAxisSetting instance to axes.

See also

axes()

Setter of property axesᅟ .

setDeadZoneRadius(deadZoneRadius)
Parameters:

deadZoneRadius – float

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

See also

deadZoneRadius()

Setter of property deadZoneRadiusᅟ .

setSmoothEnabled(enabled)
Parameters:

enabled – bool

Set the current state of the QAxisSettings smoothing to enabled.

See also

isSmoothEnabled()

Setter of property smoothᅟ .

smoothChanged(smooth)
Parameters:

smooth – bool

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

Notification signal of property smoothᅟ .