QPickLineEvent Class

class Qt3DRender ::QPickLineEvent

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

头: #include <QPickLineEvent>
qmake: QT += 3drender
Since: Qt 5.10
实例化: PickLineEvent
继承: Qt3DRender::QPickEvent

该类在 Qt 5.10 引入。

特性

公共函数

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

详细描述

另请参阅 QPickEvent .

特性文档编制

edgeIndex : const uint

Specifies the index of the edge that was picked

访问函数:

uint edgeIndex () const

vertex1Index : const uint

Specifies the index of the first point of the picked edge

访问函数:

uint vertex1Index () const

vertex2Index : const uint

Specifies the index of the second point of the picked edge

访问函数:

uint vertex2Index () const

成员函数文档编制

QPickLineEvent:: QPickLineEvent ()

构造新的 QPickEvent .

uint QPickLineEvent:: edgeIndex () const

QPickLineEvent::edgeIndex Returns the index of the picked edge

注意: Getter function for property edgeIndex.

uint QPickLineEvent:: vertex1Index () const

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

注意: Getter function for property vertex1Index.

uint QPickLineEvent:: vertex2Index () const

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

注意: Getter function for property vertex2Index.