QAxisSetting

QAxisSetting stores settings for the specified list of Axis. More

Inheritance diagram of PySide6.Qt3DInput.Qt3DInput.QAxisSetting

Synopsis

Functions

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.

PySide6.Qt3DInput.Qt3DInput.QAxisSetting.axes()
Return type

Returns the current list of Axis these settings apply to.

See also

setAxes()

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

axes

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

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

float

Returns the set dead zone radius.

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.

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

bool

Returns if smoothing is enabled.

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

axes

Set the current axes of the QAxisSetting instance to axes.

See also

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()

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

enabled – bool

Set the current state of the QAxisSettings smoothing to enabled.

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

smooth – bool

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