ScreenRayCaster QML Type
根据屏幕坐标执行射线投射测试。更多...
| Import Statement: | import Qt3D.Render 2.12 |
| In C++: | QScreenRayCaster |
| Status: | Deprecated |
此类型已弃用。我们强烈建议不要在新代码中使用它。
属性
- position : point
详细说明
ScreenRayCaster 可通过指定屏幕空间中的坐标来执行光线投射测试,这些坐标将用于在近平面和远平面之间构建一条实际的 3D 光线。
属性文档
position : point
存储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.