QPickLineEvent#

The QPickLineEvent class holds information when a segment of a line is picked. More

Inheritance diagram of PySide6.Qt3DRender.Qt3DRender.QPickLineEvent

Synopsis#

Properties#

Functions#

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:

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: int#

Specifies the index of the edge that was picked

Access functions:
property PᅟySide6.Qt3DRender.Qt3DRender.QPickLineEvent.vertex1Index: int#

Specifies the index of the first point of the picked edge

Access functions:
property PᅟySide6.Qt3DRender.Qt3DRender.QPickLineEvent.vertex2Index: int#

Specifies the index of the second point of the picked edge

Access functions:
PySide6.Qt3DRender.Qt3DRender.QPickLineEvent.edgeIndex()#
Return type:

int

QPickLineEvent::edgeIndex Returns the index of the picked edge

Getter of property edgeIndex .

PySide6.Qt3DRender.Qt3DRender.QPickLineEvent.vertex1Index()#
Return type:

int

QPickLineEvent::vertex1Index Returns the index of the first point of the picked edge

Getter of property vertex1Index .

PySide6.Qt3DRender.Qt3DRender.QPickLineEvent.vertex2Index()#
Return type:

int

QPickLineEvent::vertex2Index Returns the index of the second point of the picked triangle

Getter of property vertex2Index .