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

QPickLineEvent Class

The QPickLineEvent class holds information when a segment of a line is picked.

This class was introduced in Qt 5.10.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

QPickLineEvent Class

  • Header: QPickLineEvent

  • Since: Qt 5.10

  • CMake:

    find_package(Qt6 REQUIRED COMPONENTS 3drender)

    target_link_libraries(mytarget PRIVATE Qt6::3drender)

  • qmake: QT += 3drender

  • Inherited By:

  • Instantiated By: qml-qt3d-render-picklineevent.xml

  • Inherits: Qt3DRender::QPickEvent

Detailed Description

 

See Also

See also QPickEvent

Property Documentation

 

[read-only] edgeIndex : const uint

Specifies the index of the edge that was picked

Access functions:

[read-only] vertex1Index : const uint

Specifies the index of the first point of the picked edge

Access functions:

[read-only] vertex2Index : const uint

Specifies the index of the second point of the picked edge

Access functions:

Member Function Documentation

 

QPickLineEvent::QPickLineEvent()

Constructs a new QPickEvent.

uint QPickLineEvent::edgeIndex() const

QPickLineEvent::edgeIndex Returns the index of the picked edge

Getter function for property edgeIndex.

uint QPickLineEvent::vertex1Index() const

QPickLineEvent::vertex1Index Returns the index of the first point of the picked edge

Getter function for property vertex1Index.

uint QPickLineEvent::vertex2Index() const

QPickLineEvent::vertex2Index Returns the index of the second point of the picked triangle

Getter function for property vertex2Index.

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