Debian Codegraph @

tests/manual/scenegraph_lancelot/data/shaders/propertyanimation/uniformanimator.qml

raw
1 import QtQuick 2.15
2
3 Item {
4 width: 320
5 height: 480
6
7 ShaderEffect {
8 x: 10
9 y: 250
10 width: 300
11 height: 200
12 property real colorProperty: 0.0
13 fragmentShader: "qrc:shaders/property.frag"
14
15 UniformAnimator on colorProperty {
16 duration: 200
17 from: 0.0
18 to: 1.0
19 }
20 }
21 }