QAxis¶
QAxis
stores QAbstractAxisInputs used to trigger an input event. More…
Synopsis¶
Functions¶
def
addInput
(input)def
inputs
()def
removeInput
(input)def
value
()
Signals¶
def
valueChanged
(value)
Detailed Description¶
Constructs a new
QAxis
instance withparent
.
- class PySide2.Qt3DInput.Qt3DInput.QAxis([parent=None])¶
- param parent:
Constructs a new
QAxis
instance with parentparent
.
- PySide2.Qt3DInput.Qt3DInput.QAxis.addInput(input)¶
- Parameters:
Adds an
input
for the axis.See also
QAbstractAxisInput
- PySide2.Qt3DInput.Qt3DInput.QAxis.inputs()¶
- Return type:
Returns vector of all inputs added to the axis.
- PySide2.Qt3DInput.Qt3DInput.QAxis.removeInput(input)¶
- Parameters:
Removes an
input
from the axis.See also
QAbstractAxisInput
- PySide2.Qt3DInput.Qt3DInput.QAxis.value()¶
- Return type:
float
The value of the axis.
- PySide2.Qt3DInput.Qt3DInput.QAxis.valueChanged(value)¶
- Parameters:
value – float
© 2022 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.