QButtonAxisInput

PyQt5.Qt3DInput.QButtonAxisInput

Inherits from QAbstractAxisInput.

Description

An axis input controlled by buttons The axis value is controlled by buttons rather than a traditional analog input such as a joystick.

Methods

__init__(parent: QNode = None)

Constructs a new QButtonAxisInput instance with parent.


acceleration() → float

See also

setAcceleration().


buttons() → List[int]

See also

setButtons().


deceleration() → float

See also

setDeceleration().


scale() → float

See also

setScale().


setAcceleration(float)

See also

acceleration().


setButtons(Iterable[int])

See also

buttons().


setDeceleration(float)

See also

deceleration().


setScale(float)

See also

scale().

Signals

accelerationChanged(float)

TODO


buttonsChanged(Iterable[int])

TODO


decelerationChanged(float)

TODO


scaleChanged(float)

TODO