A gradient with additive color effect. 更多...
import 语句: | import QtQuick3D.Effects 6.2 |
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.
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).