PickingProxy QML Type
可用于提供仅用于采摘的备用GeometryView 。更多
Import Statement: | import Qt3D.Render 2.9 |
In C++: | QPickingProxy |
Inherits: | |
Status: | Deprecated |
详细描述
拾取是一项昂贵的操作,尤其是当网格有大量顶点时。PickProxy 可以用来提供一个替代的几何体,通常具有较少的基元,用于拾取,而GeometryRenderer 实例将用于渲染。
注: 如果应用程序要求拾取的坐标与渲染的网格相匹配,请不要使用 PickingProxy。
注: 拾取算法使用边界卷积层次结构来优化边界卷积与拾取射线不相交的实体。对于该层次结构,将使用渲染实体的边界体积(或使用BoundingVolume 组件明确设置的边界体积),而不是使用代理的边界体积。
© 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.