A ripple distortion effect. 更多...
import 语句: | import QtQuick3D.Effects 6.7 |
状态: | Deprecated since 6.5 |
This type is deprecated since QtQuick3D.Effects 6.5. We strongly advise against using it in new code.
使用 ExtendedSceneEnvironment , MultiEffect , or user-defined effects via the Effect type instead.
警告: 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 类型。
The DistortionRipple effect adds a wavelike distortion of circular ripples around a center point.
center : vector2d |
The center point of the distortion. The default is
Qt.vector2d(0.5, 0.5)
, the center of the scene.
distortionHeight : real |
The distortion amount. Sensible values are in the range
[0...100]
。默认值为
10
.
distortionPhase : real |
The offset of each wave. Animate this property to see the waves move. Sensible values are in the range
[0...360]
。默认值为
0
.
distortionWidth : real |
The width of a ripple. Sensible values are in the range
[2...100]
。默认值为
10
.
radius : real |
How far the ripples extend from the center point. Sensible values are in the range
[0...100]
。默认值为
100
.