PickTriangleEvent QML Type
PickTriangleEvent contient des informations sur la sélection d'un triangle. Plus d'informations...
| Import Statement: | import Qt3D.Render 2.11 |
| In C++: | QPickTriangleEvent |
| Status: | Deprecated |
Propriétés
- triangleIndex : uint
- vertex1Index : uint
- vertex2Index : uint
- vertex3Index : uint
Description détaillée
Lorsque QPickingSettings::pickMode() est réglé sur QPickingSettings::TrianglePicking, les signaux sur QObjectPicker porteront une instance de QPickTriangleEvent.
Celle-ci contient les détails du triangle qui a été choisi.
Remarque : dans le cas d'un rendu indexé, les indices des points sont relatifs au tableau d'indices, et non au tableau de coordonnées.
Voir également PickingSettings, PickEvent, ObjectPicker, et Attribute.
Documentation sur les propriétés
triangleIndex : uint [read-only]
Spécifie l'indice triangulaire de l'événement
vertex1Index : uint [read-only]
Spécifie l'indice du premier sommet du triangle
vertex2Index : uint [read-only]
Spécifie l'indice du deuxième sommet du triangle
vertex3Index : uint [read-only]
Spécifie l'indice du troisième sommet du triangle
© 2026 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.