PickTriangleEvent QML Type
PickTriangleEvent holds information when a triangle is picked. 更多...
Import Statement: | import Qt3D.Render 2.0 |
Instantiates: | QPickTriangleEvent |
属性
- triangleIndex : uint
- vertex1Index : uint
- vertex2Index : uint
- vertex3Index : uint
详细描述
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.
Note: In case of indexed rendering, the point indices are relative to the array of indices, not the array of coordinates.
参见 PickingSettings, PickEvent, ObjectPicker, and Attribute.