QScreenRayCaster Class
class Qt3DRender::QScreenRayCasterスクリーン座標に基づく光線投影テスト。もっと見る...
ヘッダー | #include <QScreenRayCaster> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS 3drender) target_link_libraries(mytarget PRIVATE Qt6::3drender) |
qmake | QT += 3drender |
QML で | ScreenRayCaster |
を継承しています: | Qt3DRender::QAbstractRayCaster |
ステータス | 非推奨 |
プロパティ
- position : QPoint
パブリック機能
QPoint | position() const |
パブリックスロット
void | setPosition(const QPoint &position) |
void | trigger() |
void | trigger(const QPoint &position) |
シグナル
void | positionChanged(const QPoint &position) |
QRayCaster およびQNoPickingも参照してください 。
プロパティのドキュメント
position : QPoint
交差テストで実際の3Dレイを計算するために使用されるスクリーン空間の位置を保持します。
注意:座標は、有効な範囲内である限り、利用可能なすべてのレンダーサーフェスに使用されます。
アクセス関数:
QPoint | position() const |
void | setPosition(const QPoint &position) |
通知シグナル:
void | positionChanged(const QPoint &position) |
メンバ関数ドキュメント
[slot]
void QScreenRayCaster::trigger()
コンポーネントを有効にし、現在の座標値を使用してテストをトリガするための便利なメソッド。
[slot]
void QScreenRayCaster::trigger(const QPoint &position)
座標値position を設定し、コンポーネントがテストをトリガできるようにするための便利なメソッド。
© 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.