PickingSettings QML Type
PickingSettings 类指定如何处理实体选取。更多
Import Statement: | import Qt3D.Render 2.9 |
In C++: | QPickingSettings |
Status: | Deprecated |
属性
- faceOrientationPickingMode : enumeration
- pickMethod : enumeration
- pickResultMode : enumeration
- worldSpaceTolerance : real
详细说明
拾取设置决定如何处理实体拾取。有关实体拾取的更多详情,请参阅 Qt3D.Render::ObjectPicker 或 Qt3D.Render::RayCaster 组件文档。
当使用ObjectPicker 组件时,拾取由鼠标事件触发。
当使用RayCaster 或ScreenRayCaster 组件时,拾取可由应用程序显式触发。
在这两种情况下,都会在场景中投射一条射线,寻找与射线相交的几何体。
另请参阅 ObjectPicker,RayCaster, 和ScreenRayCaster 。
属性文档
faceOrientationPickingMode : enumeration |
指定面的方向如何影响三角形拾取
- PickingSettingsFrontFace..BackFace 仅拾取正面的三角形(默认)。
- PickingSettings.BackFace 只选取背面的三角形。
- PickingSettings.FrontAndBackFace 将拾取正面和背面的三角形。
pickMethod : enumeration |
保持当前的选取方法。
- PickingSettings.BoundingVolumePicking
- PickingSettings.三角形拾取
- PickingSettings.LinePicking
- PickingSettings.PointPicking
- PickingSettings.PrimitivePicking:选取点、直线或三角形
pickResultMode : enumeration |
保持当前的拾取结果模式。
- PickingSettings.NearestPick
- PickingSettings.AllPicks
- PickingSettings.NearestPriorityPick
worldSpaceTolerance : real |
保存模型空间坐标中的阈值,用于评估线和点的拾取。
© 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.