PickTriangleEvent QML Type

PickTriangleEvent contient des informations sur la sélection d'un triangle. Plus d'informations...

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

Propriétés

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.

Propriété Documentation

triangleIndex : uint [read-only]

Spécifie l'indice du triangle 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


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