このページでは

PickEvent QML Type

PickEvent は、オブジェクトが選択された際の情報を保持します。これは、選択が成功した際に、QObjectPicker コンポーネントのほとんどのシグナルでパラメータとして受け取られます。詳細...

Import Statement: import Qt3D.Render 2.12
In C++: QPickEvent
Status: Deprecated

この型は非推奨です。新しいコードでの使用は強く推奨しません。

プロパティ

詳細説明

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.