QPickLineEvent#
The QPickLineEvent
class holds information when a segment of a line is picked. More…
Synopsis#
Properties#
Functions#
def
edgeIndex
()def
vertex1Index
()def
vertex2Index
()
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#
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
.
Note
Properties can be used directly when from __feature__ import true_property
is used or via accessor functions otherwise.
- property PᅟySide6.Qt3DRender.Qt3DRender.QPickLineEvent.edgeIndex: uint#
Specifies the index of the edge that was picked
- Access functions:
edgeIndex
()
- property PᅟySide6.Qt3DRender.Qt3DRender.QPickLineEvent.vertex1Index: uint#
Specifies the index of the first point of the picked edge
- Access functions:
vertex1Index
()
- property PᅟySide6.Qt3DRender.Qt3DRender.QPickLineEvent.vertex2Index: uint#
Specifies the index of the second point of the picked edge
- Access functions:
vertex2Index
()
- PySide6.Qt3DRender.Qt3DRender.QPickLineEvent.edgeIndex()#
- Return type:
uint
QPickLineEvent::edgeIndex Returns the index of the picked edge
Getter of property edgeIndex
.
- PySide6.Qt3DRender.Qt3DRender.QPickLineEvent.vertex1Index()#
- Return type:
uint
QPickLineEvent::vertex1Index Returns the index of the first point of the picked edge
Getter of property vertex1Index
.
- PySide6.Qt3DRender.Qt3DRender.QPickLineEvent.vertex2Index()#
- Return type:
uint
QPickLineEvent::vertex2Index Returns the index of the second point of the picked triangle
Getter of property vertex2Index
.