PySide6.Qt3DInput.Qt3DInput.QAxis

class QAxis

QAxis stores QAbstractAxisInputs used to trigger an input event. More

Inheritance diagram of PySide6.Qt3DInput.Qt3DInput.QAxis

Synopsis

Properties

Methods

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.

Note

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

property valueᅟ: float

The value of the axis.

Access functions:
__init__([parent=None])
Parameters:

parentQNode

Constructs a new QAxis instance with parent parent.

addInput(input)
Parameters:

inputQAbstractAxisInput

QAxis::addInput Adds an input for the axis.

See also

QAbstractAxisInput

inputs()
Return type:

.list of Qt3DInput.QAbstractAxisInput

QAxis::inputs

Returns vector of all inputs added to the axis.

removeInput(input)
Parameters:

inputQAbstractAxisInput

QAxis::removeInput

Removes an input from the axis.

See also

QAbstractAxisInput

value()
Return type:

float

Getter of property valueᅟ .

valueChanged(value)
Parameters:

value – float

Notification signal of property valueᅟ .