QAxis

QAxis stores QAbstractAxisInputs used to trigger an input event. More

Inheritance diagram of PySide6.Qt3DInput.Qt3DInput.QAxis

Synopsis

Functions

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.

PySide6.Qt3DInput.Qt3DInput.QAxis.addInput(input)
Parameters

inputPySide6.Qt3DInput.Qt3DInput.QAbstractAxisInput

Adds an input for the axis.

See also

QAbstractAxisInput

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

Returns vector of all inputs added to the axis.

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

inputPySide6.Qt3DInput.Qt3DInput.QAbstractAxisInput

Removes an input from the axis.

See also

QAbstractAxisInput

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

float

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

value – float