QAxisSettingstores settings for the specified list of Axis. 更多 …
def
axes
()
def
deadZoneRadius
()
def
isSmoothEnabled
()
def
setAxes
(axes)
def
setDeadZoneRadius
(deadZoneRadius)
def
setSmoothEnabled
(enabled)
def
axesChanged
(axes)
def
deadZoneRadiusChanged
(deadZoneRadius)
def
smoothChanged
(smooth)
Stores the dead zone associated with this axis and defines if smoothing is enabled
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.
另请参阅
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
.
另请参阅
PySide2.Qt3DInput.Qt3DInput.QAxisSetting.
setDeadZoneRadius
(
deadZoneRadius
)
¶
deadZoneRadius
–
float
Set the current dead zone radius of the
QAxisSetting
instance to
deadZoneRadius
.
另请参阅
PySide2.Qt3DInput.Qt3DInput.QAxisSetting.
setSmoothEnabled
(
enabled
)
¶
enabled
–
bool
Set the current state of the QAxisSettings smoothing to
enabled
.
另请参阅
PySide2.Qt3DInput.Qt3DInput.QAxisSetting.
smoothChanged
(
smooth
)
¶
smooth
–
bool