CoreSettings QML Type
CoreSettings 类包含与核心数据处理流程相关的设置。更多内容...
| Import Statement: | import Qt3D.Core 2.12 |
| Since: | Qt 6.0 |
| In C++: | QCoreSettings |
| Status: | Deprecated |
此类型已弃用。我们强烈建议不要在新代码中使用它。
属性
- boundingVolumesEnabled : bool
详细说明
CoreSettings 组件应设置为场景根实体的子组件(尽管它也可以位于场景图的任意位置)。应仅存在一个实例。
它可用于控制Qt 3D 的部分行为。
属性文档
boundingVolumesEnabled : bool
表示是否启用了边界体积处理。默认值为 true。禁用此选项可减少每帧的计算量。如果您正在使用点选或视锥体剔除,则应保持此选项启用(即使使用 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.