PickTriangleEvent QML Type
PickTriangleEvent armazena informações quando um triângulo é selecionado. Mais...
| Import Statement: | import Qt3D.Render 2.12 |
| In C++: | QPickTriangleEvent |
| Status: | Deprecated |
Esse tipo está obsoleto. Recomendamos enfaticamente que não seja usado em códigos novos.
Propriedades
- triangleIndex : uint
- vertex1Index : uint
- vertex2Index : uint
- vertex3Index : uint
Descrição detalhada
Quando QPickingSettings::pickMode() é definido como QPickingSettings::TrianglePicking, os sinais no QObjectPicker transmitirão uma instância de QPickTriangleEvent.
Isso contém os detalhes do triângulo que foi selecionado.
Observação: No caso de renderização indexada, os índices dos pontos são relativos à matriz de índices, e não à matriz de coordenadas.
Veja também PickingSettings, PickEvent, ObjectPicker e Attribute.
Documentação da propriedade
triangleIndex : uint [read-only]
Especifica o índice do triângulo do evento
vertex1Index : uint [read-only]
Especifica o índice do primeiro vértice do triângulo
vertex2Index : uint [read-only]
Especifica o índice do segundo vértice do triângulo
vertex3Index : uint [read-only]
Especifica o índice do terceiro vértice do triângulo
© 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.