QPickLineEvent Class

class Qt3DRender::QPickLineEvent

QPickLineEvent クラスは、線のセグメントがピックされたときの情報を保持します。詳細...

ヘッダー #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

ピックされたエッジのインデックスを指定します。

アクセス関数:

uint edgeIndex() const

[read-only] vertex1Index : const uint

ピックした辺の最初の点のインデックスを指定する。

アクセス関数:

uint vertex1Index() const

[read-only] vertex2Index : const uint

ピックした辺の2点目のインデックスを指定する。

アクセス関数:

uint vertex2Index() const

メンバ関数ドキュメント

QPickLineEvent::QPickLineEvent()

新しいQPickEvent を構築する。

uint QPickLineEvent::edgeIndex() const

QPickLineEvent::edgeIndex ピックしたエッジのインデックスを返します。

注意: プロパティ edgeIndex のゲッター関数です。

uint QPickLineEvent::vertex1Index() const

QPickLineEvent::vertex1Index ピックした辺の最初の点のインデックスを返します。

注: プロパティ vertex1Index のゲッター関数です。

uint QPickLineEvent::vertex2Index() const

QPickLineEvent::vertex2Index ピックした三角形の 2 番目の点のインデックスを返します。

注: プロパティ vertex2Index のゲッター関数です。

© 2025 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.