QPickLineEvent#
The QPickLineEvent
class holds information when a segment of a line is picked. More…
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
vertex2Index –
uint
position –
PySide6.QtCore.QPointF
edgeIndex –
uint
vertex1Index –
uint
buttons – int
distance – float
button –
Buttons
worldIntersection –
PySide6.QtGui.QVector3D
modifiers – int
localIntersection –
PySide6.QtGui.QVector3D
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