IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)

PickTriangleEvent QML Type

PickTriangleEvent holds information when a triangle is picked.

This type was introduced in Qt 5.7.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

PickTriangleEvent QML Type

  • Import Statement: import Qt3D.Render 2.4

  • Since:: Qt 5.7

  • Instantiates:: QPickTriangleEvent

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.

In case of indexed rendering, the point indices are relative to the array of indices, not the array of coordinates.

See Also

Property Documentation

 

[read-only] triangleIndex : uint

Specifies the triangle index of the event

[read-only] vertex1Index : uint

Specifies the index of the first vertex in the triangle

[read-only] vertex2Index : uint

Specifies the index of the second vertex in the triangle

[read-only] vertex3Index : uint

Specifies the index of the third vertex in the triangle

Vous avez aimé ce tutoriel ? Alors partagez-le en cliquant sur les boutons suivants : Viadeo Twitter Facebook Share on Google+