// Copyright (C) 2023 The Qt Company Ltd.// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause// Created with Qt Quick Effect Maker (version 0.43), Fri Feb 17 09:45:06 2023
import QtQuick
Item {
id: rootItem// This is the main source for the effect
property Itemsource: null// Enable this to animate iTime property
property booltimeRunning: false// When timeRunning is false, this can be used to control iTime manually
property realanimatedTime: frameAnimation.elapsedTime
property realwigglyAmountX: 20
property realwigglyAmountY: 50
property realwigglyShadows: 0.5// The levels of details for the electic clouds. Bigger value means more detailed rending which also requires more processing power. The default value is 6 and practical range is between 1 and 10.
property intelectricCloudLevels: 6// The color used for the clouds. Alpha channel defines the amount of opacity this effect has.
property colorelectricCloudColor: Qt.rgba(1, 1, 1, 1)
FrameAnimation {
id: frameAnimationrunning: rootItem.timeRunning
}
ShaderEffect {
readonly property aliasiSource: rootItem.source
readonly property aliasiTime: rootItem.animatedTime
readonly property vector3diResolution: Qt.vector3d(width, height, 1.0)
readonly property aliaswigglyAmountX: rootItem.wigglyAmountX
readonly property aliaswigglyAmountY: rootItem.wigglyAmountY
readonly property aliaswigglyShadows: rootItem.wigglyShadows
readonly property aliaselectricCloudLevels: rootItem.electricCloudLevels
readonly property aliaselectricCloudColor: rootItem.electricCloudColorvertexShader: 'wigglyeffect.vert.qsb'fragmentShader: 'wigglyeffect.frag.qsb'anchors.fill: parentmesh: GridMesh {
resolution: Qt.size(63, 1)
Sign Up and Download for Free
By signing up, you consent to Felgo processing your data & contacting you to fulfill your request. For more information on how we are committed to protecting & respecting your privacy, please review our privacy policy.
Want to find out if Felgo is a good fit for your company?
As part of the free Business evaluation, we offer a free welcome call for companies, to talk about your requirements, and how the Felgo SDK & Services can help you. Just sign up and schedule your call.
Sign up now to start your free Business evaluation: