AdditiveColorGradient QML Type

A gradient with additive color effect. More...

Import Statement: import QtQuick3D.Effects 6.7
Status: Deprecated since 6.5

This type is deprecated since QtQuick3D.Effects 6.5. We strongly advise against using it in new code.

Properties

Detailed Description

Use ExtendedSceneEnvironment instead.

Warning: 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.

This effect adds a vertical gradient to the whole scene, then additively blends it with all other elements on the layer. Additive blending adds the pixel values of the gradient and the layer, making the result lighter. White areas do not change, and black areas are the same color as the gradient.

Property Documentation

bottomColor : vector3d

The color to be used at the bottom of the screen for the gradient. The default is Qt.vector3d(0.0, 0.0, 0.0) (i.e. black).


topColor : vector3d

The color to be used at the top of the screen for the gradient. The default value is Qt.vector3d(1.0, 1.0, 1.0) (i.e. white).


© 2024 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.