PickingProxy QML Type
可用于提供一个仅用于选件的备用GeometryView 。更多内容...
| Import Statement: | import Qt3D.Render 2.12 |
| In C++: | QPickingProxy |
| Inherits: | |
| Status: | Deprecated |
此类型已弃用。我们强烈建议不要在新代码中使用它。
详细说明
选择操作可能消耗大量资源,特别是当网格包含大量顶点时。PickProxy 可用于提供一种替代几何体(通常包含较少的基元),该几何体将用于选择操作,而GeometryRenderer 实例则用于渲染。
注意: 如果应用程序要求拾取坐标与渲染的网格相匹配,请 勿使用 PickingProxy。
注意: 选择算法 使用包围体层次结构,以优化剔除那些包围体与选择光线不相交的实体。对于该层次结构,将使用渲染实体的包围体(或通过BoundingVolume 组件显式设置的包围体),而非代理的包围体。
© 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.