ColorMaster QML Type
一种颜色调整效果。更多...
| Import Statement: | import QtQuick3D.Effects 6.12 |
| Status: | Deprecated since 6.5 |
自 QtQuick3D.Effects 6.5 起,此类型已被废弃。我们强烈建议不要在新代码中使用它。
属性
- blueStrength : real
- greenStrength : real
- redStrength : real
- saturation : real
详细说明
警告: 从 Qt 6.5 开始,QtQuick3D.Effects 中所有 现成的独立效果均 被视为已弃用。如需进行颜色调整,请改用ExtendedSceneEnvironment 。

ColorMaster 效果可调整场景的色彩平衡和饱和度。
属性文档
blueStrength : real
蓝色通道的乘法系数。取值范围为[0...2] 。默认值为1 。
greenStrength : real
绿色通道的乘法因子。取值范围为[0...2] 。默认值为1.5 。
redStrength : real
红色通道的乘数。取值范围为[0...2] 。默认值为1 。
saturation : real
场景中所有颜色的饱和度强度。取值范围为[-1...1] ,其中-1 表示完全去饱和,0 表示未修改,1 表示严重过饱和。默认值为0 。
© 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.