QPickLineEvent

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

Inheritance diagram of PySide6.Qt3DRender.Qt3DRender.QPickLineEvent

New in version 5.10.

Synopsis

Functions

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 .

PySide6.Qt3DRender.Qt3DRender.QPickLineEvent.edgeIndex()
Return type

uint

Returns the index of the picked edge

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

uint

Returns the index of the first point of the picked edge

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

uint

Returns the index of the second point of the picked triangle