Desaturate QML Type▲
-
Import Statement: import QtQuick3D.Effects 6.5
Detailed Description▲
Use ExtendedSceneEnvironment instead.
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 instead.
The Desaturate effect allows decreasing the intensity of all colors in the scene.
Property Documentation▲
amount : real▲
The strength of desaturation. The range is [0...1], with 0 being fully saturated and 1 being fully grayscale. The default value is 0.5.