DistortionSpiral QML Type
A spiral distortion effect. More...
|Import Statement:||import QtQuick3D.Effects 6.5|
- center : vector2d
- distortionStrength : real
- radius : real
Use ExtendedSceneEnvironment, MultiEffect, or user-defined effects via the Effect type instead.
Warning: All pre-made standalone effects in QtQuick3D.Effects are considered deprecated starting with Qt 6.5. Applications are advised to use ExtendedSceneEnvironment or MultiEffect instead, when applicable, or alternatively provide their own custom post-processing effect via the Effect type.
The DistortionSpiral effect creates a twirl-shaped distortion.
center : vector2d
The center point of the distortion. The default is
Qt.vector2d(0.5, 0.5), the center of the scene.
distortionStrength : real
The distortion amount. The range is
[-10...10]. The default value is
radius : real
How far the distortion extends from the center point. The range is
[0...1]. The default value is
© 2023 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.