QPickLineEvent Class

class Qt3DRender::QPickLineEvent

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

Header: #include <QPickLineEvent>
qmake: QT += 3drender
Since: Qt 5.10
Instantiated By: PickLineEvent
Inherits: Qt3DRender::QPickEvent

This class was introduced in Qt 5.10.

Public Functions

QPickLineEvent()
uint edgeIndex() const
uint vertex1Index() const
uint vertex2Index() const

Detailed Description

See also QPickEvent.

Member Function Documentation

QPickLineEvent::QPickLineEvent()

Constructs a new QPickEvent.

uint QPickLineEvent::edgeIndex() const

QPickLineEvent::edgeIndex Returns the index of the picked edge

uint QPickLineEvent::vertex1Index() const

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

uint QPickLineEvent::vertex2Index() const

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