PickTriangleEvent QML Type

PickTriangleEvent 保存选取三角形时的信息。更多

Import Statement: import Qt3D.Render 2.9
In C++: QPickTriangleEvent
Status: Deprecated

属性

详细说明

当 QPickingSettings::pickMode() 设置为 QPickingSettings::TrianglePicking 时,QObjectPicker 上的信号将携带一个 QPickTriangleEvent 实例。

其中包含被选中的三角形的详细信息。

注: 在索引渲染的情况下,点索引是相对于索引数组,而不是坐标数组。

另请参阅 PickingSettings,PickEvent,ObjectPicker, 和Attribute

属性文档

triangleIndex : uint [read-only]

指定事件的三角形索引


vertex1Index : uint [read-only]

指定三角形中第一个顶点的索引


vertex2Index : uint [read-only]

指定三角形中第二个顶点的索引


vertex3Index : uint [read-only]

指定三角形中第三个顶点的索引


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