The QPickLineEvent class holds information when a segment of a line is picked. More...
Header: | #include <QPickLineEvent> |
CMake: | find_package(Qt6 COMPONENTS 3drender REQUIRED) target_link_libraries(mytarget PRIVATE Qt6::3drender) |
qmake: | QT += 3drender |
Since: | Qt 5.10 |
Instantiated By: | PickLineEvent |
Inherits: | Qt3DRender::QPickEvent |
QPickLineEvent() | |
uint | edgeIndex() const |
uint | vertex1Index() const |
uint | vertex2Index() const |
See also QPickEvent.
[read-only]
edgeIndex : const uint
Specifies the index of the edge that was picked
Access functions:
uint | edgeIndex() const |
[read-only]
vertex1Index : const uint
Specifies the index of the first point of the picked edge
Access functions:
uint | vertex1Index() const |
[read-only]
vertex2Index : const uint
Specifies the index of the second point of the picked edge
Access functions:
uint | vertex2Index() const |
Constructs a new QPickEvent.
QPickLineEvent::edgeIndex Returns the index of the picked edge
Note: Getter function for property edgeIndex.
QPickLineEvent::vertex1Index Returns the index of the first point of the picked edge
Note: Getter function for property vertex1Index.
QPickLineEvent::vertex2Index Returns the index of the second point of the picked triangle
Note: Getter function for property vertex2Index.
© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-6.2/qt3drender-qpicklineevent.html