PickTriangleEvent QML Type

PickTriangleEvent holds information when a triangle is picked. 更多...

import 语句: import Qt3D.Render 2.8
在 C++: QPickTriangleEvent
状态: Deprecated

特性

详细描述

When QPickingSettings::pickMode() is set to QPickingSettings::TrianglePicking, the signals on QObjectPicker will carry an instance of QPickTriangleEvent.

This contains the details of the triangle that was picked.

注意: In case of indexed rendering, the point indices are relative to the array of indices, not the array of coordinates.

另请参阅 PickingSettings , PickEvent , ObjectPicker ,和 属性 .

特性文档编制

triangleIndex : uint [read-only]

Specifies the triangle index of the event

vertex1Index : uint [read-only]

Specifies the index of the first vertex in the triangle

vertex2Index : uint [read-only]

Specifies the index of the second vertex in the triangle

vertex3Index : uint [read-only]

Specifies the index of the third vertex in the triangle

内容

  1. 特性

  2. 详细描述

版权所有  © 2014-2026 乐数软件    

工业和信息化部: 粤ICP备14079481号-1