A color adjustment 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, use ExtendedSceneEnvironment 代替。
The ColorMaster effect adjusts the color balance and saturation of the scene.
blueStrength : real |
A multiplication factor for the blue color channel. The range is
[0...2]
。默认值为
1
.
greenStrength : real |
A multiplication factor for the green color channel. The range is
[0...2]
。默认值为
1.5
.
redStrength : real |
A multiplication factor for the red color channel. The range is
[0...2]
。默认值为
1
.
saturation : real |
The strength of all the colors in the scene. The range is
[-1...1]
,其中
-1
is fully desaturated,
0
is unmodified, and
1
is heavily oversaturated. The default value is
0
.