PickTriangleEvent QML Type
PickTriangleEvent holds information when a triangle is picked. More...
Import Statement: | import Qt3D.Render 2.12 |
Instantiates: | QPickTriangleEvent |
Properties
- triangleIndex : uint
- vertex1Index : uint
- vertex2Index : uint
- vertex3Index : uint
Detailed Description
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.
See also PickingSettings, PickEvent, ObjectPicker, and Attribute.
Property Documentation
© 2019 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.