A desaturating effect. 更多...
import 语句: | import QtQuick3D.Effects 6.5 |
使用 ExtendedSceneEnvironment 代替。
警告: All pre-made standalone effects in QtQuick3D .Effects are considered deprecated starting with Qt 6.5. To perform color adjustments and color grading, use ExtendedSceneEnvironment 代替。
The Desaturate effect allows decreasing the intensity of all colors in the scene.
amount : real |
The strength of desaturation. The range is
[0...1]
,采用
0
being fully saturated and
1
being fully grayscale. The default value is
0.5
.