RayCaster QML Type

3次元ワールド座標でレイキャスティングテストを行うために使用します。詳細...

Import Statement: import Qt3D.Render 2.8
In C++: QRayCaster
Status: Deprecated

プロパティ

詳細説明

3dレイは、原点、方向、長さによって定義されます。それは、それが属するエンティティに適用されるトランスフォームの影響を受けます。

コンポーネントが有効である限り、レイキャストテストは毎フレーム実行されます。ヒットプロパティは、交差のリストで更新されます。

AbstractRayCasterScreenRayCasterNoPickingも参照してください

プロパティの説明

direction : vector3D

3Dレイの方向を保持します。単位ベクトルである必要があります。


length : real

3D 光線の長さを保持します。


origin : vector3d

3D 光線の原点をローカル座標で保持します。


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