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 |
| QPickLineEvent () | |
| QPickLineEvent (const QPointF & position , const QVector3D & worldIntersection , const QVector3D & localIntersection , float distance , uint edgeIndex , uint vertex1Index , uint vertex2Index , Qt3DRender::QPickEvent::Buttons button , int buttons , int modifiers ) | |
| uint | edgeIndex () const |
| uint | vertex1Index () const |
| uint | vertex2Index () const |
| const QMetaObject | staticMetaObject |
The QPickLineEvent class holds information when a segment of a line is picked.
另请参阅 QPickEvent .
Specifies the index of the edge that was picked
访问函数:
| uint | edgeIndex () const |
Specifies the index of the first point of the picked edge
访问函数:
| uint | vertex1Index () const |
Specifies the index of the second point of the picked edge
访问函数:
| uint | vertex2Index () const |
构造新的 QPickEvent .
Default constructs an instance of QPickLineEvent.
QPickLineEvent::edgeIndex Returns the index of the picked edge
注意: getter 函数对于特性 edgeIndex .
QPickLineEvent::vertex1Index Returns the index of the first point of the picked edge
注意: getter 函数对于特性 vertex1Index .
QPickLineEvent::vertex2Index Returns the index of the second point of the picked triangle
注意: getter 函数对于特性 vertex2Index .