En esta página

PickTriangleEvent QML Type

PickTriangleEvent contiene información sobre cuándo se selecciona un triángulo. Más información...

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

Este tipo está obsoleto. Recomendamos encarecidamente no utilizarlo en código nuevo.

Propiedades

Descripción detallada

Cuando QPickingSettings::pickMode() se establece en QPickingSettings::TrianglePicking, las señales de QObjectPicker transportarán una instancia de QPickTriangleEvent.

Esta contiene los detalles del triángulo que se ha seleccionado.

Nota: En el caso del renderizado indexado, los índices de los puntos son relativos a la matriz de índices, no a la matriz de coordenadas.

Véase también PickingSettings, PickEvent, ObjectPicker y Attribute.

Documentación de propiedades

triangleIndex : uint [read-only]

Especifica el índice del triángulo del evento

vertex1Index : uint [read-only]

Especifica el índice del primer vértice del triángulo

vertex2Index : uint [read-only]

Especifica el índice del segundo vértice del triángulo

vertex3Index : uint [read-only]

Especifica el índice del tercer vértice del 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.