RayCaster QML Type
3D世界座標系でのレイキャスティングテストを実行するために使用されます。詳細...
| Import Statement: | import Qt3D.Render 2.12 |
| In C++: | QRayCaster |
| Status: | Deprecated |
この型は非推奨です。新しいコードでの使用は強く推奨しません。
プロパティ
詳細な説明
3Dレイは、起点、方向、長さによって定義されます。このレイは、所属するエンティティに適用される変換の影響を受けます。
コンポーネントが有効になっている限り、レイキャスティングのテストは毎フレーム実行されます。「hits」プロパティには、交点のリストが更新されます。
関連項目: AbstractRayCaster 、ScreenRayCaster 、およびNoPicking 。
プロパティのドキュメント
direction : vector3D
3Dレイの方向を保持します。これは単位ベクトルである必要があります。
length : real
3番目の光線の長さを保持します。
origin : vector3d
ローカル座標系における3D光線の原点を保持します。
© 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.