QAxis#

QAxis stores QAbstractAxisInputs used to trigger an input event. More

Inheritance diagram of PySide6.Qt3DInput.Qt3DInput.QAxis

Synopsis#

Properties#

Functions#

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#

Constructs a new QAxis instance with parent.

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

parentPySide6.Qt3DCore.Qt3DCore.QNode

Constructs a new QAxis instance with parent 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.QAxis.value: float#

The value of the axis.

Access functions:
PySide6.Qt3DInput.Qt3DInput.QAxis.addInput(input)#
Parameters:

inputPySide6.Qt3DInput.Qt3DInput.QAbstractAxisInput

QAxis::addInput Adds an input for the axis.

See also

QAbstractAxisInput

PySide6.Qt3DInput.Qt3DInput.QAxis.inputs()#
Return type:

QAxis::inputs

Returns vector of all inputs added to the axis.

PySide6.Qt3DInput.Qt3DInput.QAxis.removeInput(input)#
Parameters:

inputPySide6.Qt3DInput.Qt3DInput.QAbstractAxisInput

QAxis::removeInput

Removes an input from the axis.

See also

QAbstractAxisInput

PySide6.Qt3DInput.Qt3DInput.QAxis.value()#
Return type:

float

Getter of property value .

PySide6.Qt3DInput.Qt3DInput.QAxis.valueChanged(value)#
Parameters:

value – float

Notification signal of property value .