QPickLineEvent Class

class Qt3DRender::QPickLineEvent

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

頭: #include <QPickLineEvent>
CMake: find_package(Qt6 REQUIRED COMPONENTS 3drender)
target_link_libraries(mytarget PRIVATE Qt6::3drender)
qmake: QT += 3drender
在 QML: PickLineEvent
繼承: Qt3DRender::QPickEvent
狀態: 棄用

特性

公共函數

QPickLineEvent ()
uint edgeIndex () const
uint vertex1Index () const
uint vertex2Index () const

詳細描述

另請參閱 QPickEvent .

特性文檔編製

[read-only] edgeIndex : const uint

Specifies the index of the edge that was picked

訪問函數:

uint edgeIndex () const

[read-only] vertex1Index : const uint

Specifies the index of the first point of the picked edge

訪問函數:

uint vertex1Index () const

[read-only] vertex2Index : const uint

Specifies the index of the second point of the picked edge

訪問函數:

uint vertex2Index () const

成員函數文檔編製

QPickLineEvent:: QPickLineEvent ()

構造新的 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.

內容

  1. 特性

  2. 公共函數

  3. 詳細描述