PySide6.Qt3DInput.Qt3DInput.QAxis¶
- class QAxis¶
- QAxisstores QAbstractAxisInputs used to trigger an input event. More…- Synopsis¶- Properties¶- Methods¶- def - __init__()
- def - addInput()
- def - inputs()
- def - removeInput()
- def - value()
 - Signals¶- def - valueChanged()
 - Note - This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE - Detailed Description¶- Constructs a new - QAxisinstance with- parent.- Note - Properties can be used directly when - from __feature__ import true_propertyis used or via accessor functions otherwise.- property valueᅟ: float¶
 - The value of the axis. - Access functions:
- Signal - valueChanged()
 
 - __init__([parent=None])¶
- Parameters:
- parent – - QNode
 
 - Constructs a new - QAxisinstance with parent- parent.- addInput(input)¶
- Parameters:
- input – - QAbstractAxisInput
 
 - QAxis::addInput Adds an - inputfor the axis.- See also - QAbstractAxisInput- inputs()¶
- Return type:
- .list of Qt3DInput.QAbstractAxisInput 
 
 - QAxis::inputs - Returns vector of all inputs added to the axis. - removeInput(input)¶
- Parameters:
- input – - QAbstractAxisInput
 
 - QAxis::removeInput - Removes an - inputfrom the axis.- See also - QAbstractAxisInput- value()¶
- Return type:
- float 
 
 - Getter of property - valueᅟ.- valueChanged(value)¶
- Parameters:
- value – float 
 
 - Notification signal of property - valueᅟ.