PickEvent QML Type
PickEventは、オブジェクトがピックされたときの情報を保持します。これは、ピッキングが成功したときに、QObjectPickerコンポーネントのほとんどのシグナルのパラメータとして受け取られます。詳細...
| Import Statement: | import Qt3D.Render 2.11 |
| In C++: | QPickEvent |
| Status: | Deprecated |
プロパティ
- accepted : bool
- button : int
- buttons : int
- distance : real
- entity : Entity
- localIntersection : Vector3D
- modifiers : int
- position : Point2D
- viewport : Viewport
- worldIntersection : Vector3D
詳細説明
ObjectPicker およびPickingSettingsも参照のこと 。
プロパティ・ドキュメンテーション
accepted : bool
イベントが受け入れられたかどうかを指定する
button : int [read-only]
イベントを発生させたマウスボタンを指定する
buttons : int [read-only]
イベントのマウスボタンの状態を指定する。
distance : real [read-only]
カメラからヒットまでの距離を指定する。
entity : Entity [read-only]
ピックされたジオメトリが属するエンティティ。
オブジェクトピッカーがシーングラフのリーフノードにアタッチされていない場合、どの子エンティティが実際にピックされたかを調べるのに便利です。
localIntersection : Vector3D [read-only]
ピックしたエンティティのローカル座標系でのヒットの座標を指定する。
modifiers : int [read-only]
イベントのマウスボタンの状態を指定する。
position : Point2D [read-only]
レンダリング領域(ウィンドウまたはクイックアイテム)に対するマウスの位置を指定します。
viewport : Viewport [read-only]
このイベントが発生したビューポート。NULL値は、イベントがビューポートを持たないフレームグラフブランチから発生したことを意味します。フレームグラフブランチがビューポート内にビューポートを持っている場合、プロパティにはリーフビューポートが含まれます。
worldIntersection : Vector3D [read-only]
ワールド座標系でヒットの座標を指定する。
© 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.