QAxis露

QAxis stores QAbstractAxisInputs used to trigger an input event. More鈥�

Inheritance diagram of PySide2.Qt3DInput.Qt3DInput.QAxis

Synopsis露

Functions露

Signals露

Detailed Description露

Constructs a new QAxis instance with parent .

class PySide2.Qt3DInput.Qt3DInput.QAxis([parent=None])露

Constructs a new QAxis instance with parent parent .

PySide2.Qt3DInput.Qt3DInput.QAxis.addInput(input)露
Parameters:

input 鈥� PySide2.Qt3DInput.Qt3DInput.QAbstractAxisInput

Adds an input for the axis.

See also

QAbstractAxisInput

PySide2.Qt3DInput.Qt3DInput.QAxis.inputs()露
Return type:

Returns vector of all inputs added to the axis.

PySide2.Qt3DInput.Qt3DInput.QAxis.removeInput(input)露
Parameters:

input 鈥� PySide2.Qt3DInput.Qt3DInput.QAbstractAxisInput

Removes an input from the axis.

See also

QAbstractAxisInput

PySide2.Qt3DInput.Qt3DInput.QAxis.value()露
Return type:

float

The value of the axis.

PySide2.Qt3DInput.Qt3DInput.QAxis.valueChanged(value)露
Parameters:

value 鈥� float