ButtonAxisInput QML Type | Qt 3D 5.12.7

Qt 5.12 | Qt 3D | QML Types | ButtonAxisInput QML Type

Qt 5.12.7 Reference Documentation

# ButtonAxisInput QML Type

QML frontend for QButtonAxisInput C++ class. The axis value is controlled by buttons rather than a traditional analog input such as a joystick. More...

Import Statement: | import Qt3D.Input 2.12
Since: | Qt 5.7
Instantiates: | QButtonAxisInput

- List of all members, including inherited members

## Properties

- acceleration : real
- buttons : list<var>
- deceleration : list<var>
- scale : real

## Detailed Description

## Property Documentation

acceleration : real

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

buttons : list<var>

Specifies the buttons which control the axis

deceleration : list<var>

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

scale : real

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