QAxisSetting#

QAxisSetting stores settings for the specified list of Axis. More

Inheritance diagram of PySide6.Qt3DInput.Qt3DInput.QAxisSetting

Synopsis#

Properties#

Functions#

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

class PySide6.Qt3DInput.Qt3DInput.QAxisSetting([parent=None])#
Parameters:

parentPySide6.Qt3DCore.Qt3DCore.QNode

Constructs a new QAxisSetting instance with parent.

Note

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

property PᅟySide6.Qt3DInput.Qt3DInput.QAxisSetting.axes#
Access functions:
property PᅟySide6.Qt3DInput.Qt3DInput.QAxisSetting.deadZoneRadius: float#
Access functions:
property PᅟySide6.Qt3DInput.Qt3DInput.QAxisSetting.smooth: bool#
Access functions:
PySide6.Qt3DInput.Qt3DInput.QAxisSetting.axes()#
Return type:

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

See also

setAxes()

Getter of property axes .

PySide6.Qt3DInput.Qt3DInput.QAxisSetting.axesChanged(axes)#
Parameters:

axes

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

Notification signal of property axes .

PySide6.Qt3DInput.Qt3DInput.QAxisSetting.deadZoneRadius()#
Return type:

float

QAxisSetting::deadZoneRadius Returns the set dead zone radius.

Getter of property deadZoneRadius .

PySide6.Qt3DInput.Qt3DInput.QAxisSetting.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 .

PySide6.Qt3DInput.Qt3DInput.QAxisSetting.isSmoothEnabled()#
Return type:

bool

QAxisSetting::isSmoothEnabled Returns if smoothing is enabled.

Getter of property smooth .

PySide6.Qt3DInput.Qt3DInput.QAxisSetting.setAxes(axes)#
Parameters:

axes

Set the current axes of the QAxisSetting instance to axes.

See also

axes()

Setter of property axes .

PySide6.Qt3DInput.Qt3DInput.QAxisSetting.setDeadZoneRadius(deadZoneRadius)#
Parameters:

deadZoneRadius – float

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

See also

deadZoneRadius()

Setter of property deadZoneRadius .

PySide6.Qt3DInput.Qt3DInput.QAxisSetting.setSmoothEnabled(enabled)#
Parameters:

enabled – bool

Set the current state of the QAxisSettings smoothing to enabled.

Setter of property smooth .

PySide6.Qt3DInput.Qt3DInput.QAxisSetting.smoothChanged(smooth)#
Parameters:

smooth – bool

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

Notification signal of property smooth .