Qt3DRender::QPickPointEvent Class

class Qt3DRender::QPickPointEvent

QPickPointEvent 类保存选取点云片段时的信息。更多

头文件: #include <QPickPointEvent>
CMake.QPickPointEvent find_package(Qt6 REQUIRED COMPONENTS 3drender)
target_link_libraries(mytarget PRIVATE Qt6::3drender)
qmake: QT += 3drender
在 QML 中: PickPointEvent
继承: Qt3DRender::QPickEvent
状态:已废弃

属性

公共功能

QPickPointEvent()
uint pointIndex() const

详细说明

另请参见 QPickEvent

属性文档

[read-only] pointIndex : const uint

指定选中点的索引

访问函数:

uint pointIndex() const

成员函数文档

QPickPointEvent::QPickPointEvent()

构造一个新的 QPickPointEvent。

uint QPickPointEvent::pointIndex() const

QPickPointEvent::pointIndex 返回拾取点的索引

注: pointIndex 属性的获取函数。

© 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.