QPickLineEvent¶
The QPickLineEvent
class holds information when a segment of a line is picked. More…
New in version 5.10.
Synopsis¶
Functions¶
def
edgeIndex
()def
vertex1Index
()def
vertex2Index
()
Detailed Description¶
See also
QPickEvent
- class PySide6.Qt3DRender.Qt3DRender.QPickLineEvent¶
PySide6.Qt3DRender.Qt3DRender.QPickLineEvent(position, worldIntersection, localIntersection, distance, edgeIndex, vertex1Index, vertex2Index, button, buttons, modifiers)
- Parameters
modifiers – int
distance – float
vertex2Index –
uint
position –
PySide6.QtCore.QPointF
edgeIndex –
uint
localIntersection –
PySide6.QtGui.QVector3D
button –
Buttons
vertex1Index –
uint
worldIntersection –
PySide6.QtGui.QVector3D
buttons – int
Constructs a new QPickEvent
.
- PySide6.Qt3DRender.Qt3DRender.QPickLineEvent.edgeIndex()¶
- Return type
uint
Specifies the index of the edge that was picked
- PySide6.Qt3DRender.Qt3DRender.QPickLineEvent.vertex1Index()¶
- Return type
uint
Specifies the index of the first point of the picked edge
- PySide6.Qt3DRender.Qt3DRender.QPickLineEvent.vertex2Index()¶
- Return type
uint
Specifies the index of the second point of the picked edge
© 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.