QButtonAxisInput露

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

Inheritance diagram of PySide2.Qt3DInput.Qt3DInput.QButtonAxisInput

Synopsis露

Functions露

Slots露

Signals露

Detailed Description露

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

Constructs a new QButtonAxisInput instance with parent .

PySide2.Qt3DInput.Qt3DInput.QButtonAxisInput.acceleration()露
Return type:

float

Specifies the rate at which the axis value changes when a button is held

PySide2.Qt3DInput.Qt3DInput.QButtonAxisInput.accelerationChanged(acceleration)露
Parameters:

acceleration 鈥� float

PySide2.Qt3DInput.Qt3DInput.QButtonAxisInput.buttons()露
Return type:

Specifies the buttons which control the axis

PySide2.Qt3DInput.Qt3DInput.QButtonAxisInput.buttonsChanged(buttons)露
Parameters:

buttons 鈥�

PySide2.Qt3DInput.Qt3DInput.QButtonAxisInput.deceleration()露
Return type:

float

Specifies the rate at which the axis value returns to normal when a button is released

PySide2.Qt3DInput.Qt3DInput.QButtonAxisInput.decelerationChanged(deceleration)露
Parameters:

deceleration 鈥� float

PySide2.Qt3DInput.Qt3DInput.QButtonAxisInput.scale()露
Return type:

float

Specifies how the axis output value is scaled. No scaling is applied by default so it defaults to 1.

PySide2.Qt3DInput.Qt3DInput.QButtonAxisInput.scaleChanged(scale)露
Parameters:

scale 鈥� float

PySide2.Qt3DInput.Qt3DInput.QButtonAxisInput.setAcceleration(acceleration)露
Parameters:

acceleration 鈥� float

Specifies the rate at which the axis value changes when a button is held

PySide2.Qt3DInput.Qt3DInput.QButtonAxisInput.setButtons(buttons)露
Parameters:

buttons 鈥�

Specifies the buttons which control the axis

PySide2.Qt3DInput.Qt3DInput.QButtonAxisInput.setDeceleration(deceleration)露
Parameters:

deceleration 鈥� float

Specifies the rate at which the axis value returns to normal when a button is released

PySide2.Qt3DInput.Qt3DInput.QButtonAxisInput.setScale(scale)露
Parameters:

scale 鈥� float

Specifies how the axis output value is scaled. No scaling is applied by default so it defaults to 1.