class QPickLineEvent

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

Inheritance diagram of PySide6.Qt3DRender.Qt3DRender.QPickLineEvent

Synopsis

Properties

Methods

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

Note

Properties can be used directly when from __feature__ import true_property is used or via accessor functions otherwise.

property edgeIndexᅟ: int

Specifies the index of the edge that was picked

Access functions:
property vertex1Indexᅟ: int

Specifies the index of the first point of the picked edge

Access functions:
property vertex2Indexᅟ: int

Specifies the index of the second point of the picked edge

Access functions:
__init__()

Constructs a new QPickEvent .

__init__(position, worldIntersection, localIntersection, distance, edgeIndex, vertex1Index, vertex2Index, button, buttons, modifiers)
Parameters:
  • positionQPointF

  • worldIntersectionQVector3D

  • localIntersectionQVector3D

  • distance – float

  • edgeIndex – int

  • vertex1Index – int

  • vertex2Index – int

  • buttonButtons

  • buttons – int

  • modifiers – int

edgeIndex()
Return type:

int

QPickLineEvent::edgeIndex Returns the index of the picked edge

Getter of property edgeIndexᅟ .

vertex1Index()
Return type:

int

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

Getter of property vertex1Indexᅟ .

vertex2Index()
Return type:

int

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

Getter of property vertex2Indexᅟ .