GaussianBlur QML Type
一种两遍处理的高斯模糊效果。更多...
| Import Statement: | import QtQuick3D.Effects 6.12 |
| Status: | Deprecated since 6.5 |
自 QtQuick3D.Effects 6.5 起,此类型已弃用。我们强烈建议不要在新代码中使用它。
属性
- amount : real
详细说明
请改用MultiEffect 。
警告: 从 Qt 6.5 开始,QtQuick3D.Effects 中的所有预 制独立效果均被 视为已弃用。若要实现模糊效果,请在View3D 项(或其父项)上使用Qt Quick 中的MultiEffect 。

GaussianBlur 效果会均匀地模糊场景中的所有对象。为了保持效果的性能,如果将amount 设置得过大,将不会产生完全平滑的模糊效果,而是呈现出马赛克般的结果。
属性文档
amount : real
模糊强度。合理的取值范围为[0...10] 。默认值为2 。
© 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.