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. 更多...

导入语句: import Qt3D.Input 2.15
Since: Qt 5.7
实例化: QButtonAxisInput

特性

详细描述

特性文档编制

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.