Vignette QML Type
晕影效果。更多...
| Import Statement: | import QtQuick3D.Effects 6.12 |
| Status: | Deprecated since 6.5 |
自 QtQuick3D.Effects 6.5 起,此类型已被废弃。我们强烈建议不要在新代码中使用它。
属性
- vignetteColor : vector3d
- vignetteRadius : real
- vignetteStrength : real
详细说明
警告: 从 Qt 6.5 开始,QtQuick3D.Effects中所有 现成的独立效果均 被视为已弃用。若要对 3D 场景应用晕影效果,请改用ExtendedSceneEnvironment 。

属性文档
vignetteColor : vector3d
设置暗角效果所使用的颜色。默认值为Qt.vector3d(0.5, 0.5, 0.5) 。
vignetteRadius : real
指定暗角的大小。取值范围为[0...5] 。默认值为0.35 。
vignetteStrength : real
指定暗角的强度。取值范围为[0...15] 。默认值为15 。
© 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.