Qt3DRender::QPickLineEvent Class
class Qt3DRender::QPickLineEventQPickLineEvent 类保存选取线段时的信息。更多
Header: | #include <QPickLineEvent> |
CMake.QPickLineEvent | find_package(Qt6 REQUIRED COMPONENTS 3drender) target_link_libraries(mytarget PRIVATE Qt6::3drender) |
qmake: | QT += 3drender |
在 QML 中: | PickLineEvent |
继承: | Qt3DRender::QPickEvent |
状态: | 已废弃 |
属性
- edgeIndex : const uint
- vertex1Index : const uint
- vertex2Index : const uint
公共功能
QPickLineEvent() | |
uint | edgeIndex() const |
uint | vertex1Index() const |
uint | vertex2Index() const |
另请参见 QPickEvent 。
属性文档
[read-only]
edgeIndex : const uint
指定选取的边的索引
访问功能:
uint | edgeIndex() const |
[read-only]
vertex1Index : const uint
指定选取边缘的第一个点的索引
访问功能:
uint | vertex1Index() const |
[read-only]
vertex2Index : const uint
指定选取边缘第二点的索引
访问函数:
uint | vertex2Index() const |
成员函数文档
QPickLineEvent::QPickLineEvent()
构建一个新的QPickEvent 。
uint QPickLineEvent::edgeIndex() const
QPickLineEvent::edgeIndex 返回选中边缘的索引
注: 属性 edgeIndex 的获取函数。
uint QPickLineEvent::vertex1Index() const
QPickLineEvent::vertex1Index 返回选取边缘的第一个点的索引
注: 属性 vertex1Index 的获取函数。
uint QPickLineEvent::vertex2Index() const
QPickLineEvent::vertex2Index 返回选取的三角形第二个点的索引
注: 属性 vertex2Index 的获取函数。
© 2025 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.