PySide6.Qt3DRender.Qt3DRender.QPickPointEvent¶
- class QPickPointEvent¶
QPickPointEvent类在点云的某一段被选中时保存信息。更多…概要¶
属性¶
方法¶
def
__init__()def
pointIndex()
注意
本文档可能包含从C++自动翻译到Python的代码片段。我们始终欢迎对代码片段翻译的贡献。如果您发现翻译问题,您也可以通过在我们的https:/bugreports.qt.io/projects/PYSIDE上创建工单来告知我们。
详细描述¶
另请参阅
QPickEvent注意
当使用
from __feature__ import true_property时,属性可以直接使用,否则通过访问器函数使用。- property pointIndexᅟ: int¶
指定被选中的点的索引
- Access functions:
- __init__()¶
构造一个新的
QPickPointEvent。- __init__(position, worldIntersection, localIntersection, distance, pointIndex, button, buttons, modifiers)
- pointIndex()¶
- Return type:
整数
QPickPointEvent::pointIndex 返回所选点的索引
属性
pointIndexᅟ的获取器。