QPickLineEvent

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

New in version 5.10.

Synopsis

Functions

Detailed Description

See also

QPickEvent

class PySide2.Qt3DRender.QPickLineEvent

PySide2.Qt3DRender.QPickLineEvent(position, worldIntersection, localIntersection, distance, edgeIndex, vertex1Index, vertex2Index, button, buttons, modifiers)

param worldIntersection

PySide2.QtGui.QVector3D

param edgeIndex

uint

param vertex2Index

uint

param modifiers

int

param localIntersection

PySide2.QtGui.QVector3D

param vertex1Index

uint

param buttons

int

param distance

float

param position

PySide2.QtCore.QPointF

param button

Buttons

Constructs a new QPickEvent .

PySide2.Qt3DRender.QPickLineEvent.edgeIndex()
Return type

uint

Specifies the index of the edge that was picked

PySide2.Qt3DRender.QPickLineEvent.vertex1Index()
Return type

uint

Specifies the index of the first point of the picked edge

PySide2.Qt3DRender.QPickLineEvent.vertex2Index()
Return type

uint

Specifies the index of the second point of the picked edge