内容表

上一话题

Qt3DInput.QAxisAccumulator

下一话题

Qt3DInput.QButtonAxisInput

Qt3DInput.QAxisSetting

QAxisSetting stores settings for the specified list of Axis. 更多 …

Inheritance diagram of PySide2.Qt3DInput.Qt3DInput.QAxisSetting

概要

槽

信号

详细描述

Stores the dead zone associated with this axis and defines if smoothing is enabled

class PySide2.Qt3DInput.Qt3DInput. QAxisSetting ( [ parent=None ] )
param parent

QNode

构造新 QAxisSetting 实例与 parent .

PySide2.Qt3DInput.Qt3DInput.QAxisSetting. axes ( )
返回类型

Returns the current list of Axis these settings apply to.

另请参阅

setAxes()

PySide2.Qt3DInput.Qt3DInput.QAxisSetting. axesChanged ( axes )
参数

axes –

PySide2.Qt3DInput.Qt3DInput.QAxisSetting. deadZoneRadius ( )
返回类型

float

Returns the set dead zone radius.

PySide2.Qt3DInput.Qt3DInput.QAxisSetting. deadZoneRadiusChanged ( deadZoneRadius )
参数

deadZoneRadius – float

PySide2.Qt3DInput.Qt3DInput.QAxisSetting. isSmoothEnabled ( )
返回类型

bool

Returns if smoothing is enabled.

PySide2.Qt3DInput.Qt3DInput.QAxisSetting. setAxes ( axes )
参数

axes –

Set the current axes of the QAxisSetting instance to axes .

另请参阅

axes()

PySide2.Qt3DInput.Qt3DInput.QAxisSetting. setDeadZoneRadius ( deadZoneRadius )
参数

deadZoneRadius – float

Set the current dead zone radius of the QAxisSetting instance to deadZoneRadius .

另请参阅

deadZoneRadius()

PySide2.Qt3DInput.Qt3DInput.QAxisSetting. setSmoothEnabled ( enabled )
参数

enabled – bool

Set the current state of the QAxisSettings smoothing to enabled .

另请参阅

isSmoothEnabled()

PySide2.Qt3DInput.Qt3DInput.QAxisSetting. smoothChanged ( smooth )
参数

smooth – bool