DistortionRipple QML Type

波纹失真效果更多

Import Statement: import QtQuick3D.Effects 6.9
Status: Deprecated since 6.5

自 QtQuick3D.Effects 6.5 起,该类型已被弃用。我们强烈建议不要在新代码中使用它。

属性

详细说明

请使用ExtendedSceneEnvironmentMultiEffect 或通过Effect 类型使用用户自定义特效。

警告: 从 Qt 6.5 开始,QtQuick3D.Effects 中的所有预制独立特效都将被视为过时。建议应用程序酌情使用ExtendedSceneEnvironmentMultiEffect ,或通过Effect 类型提供自己的自定义后处理效果。

DistortionRipple(扭曲波纹)特效可在中心点周围添加类似波浪的扭曲圆形波纹。

属性文档

center : vector2d

扭曲的中心点。默认值为Qt.vector2d(0.5, 0.5) ,即场景的中心点。


distortionHeight : real

扭曲量。合理值范围为[0...100] 。默认值为10


distortionPhase : real

每个波浪的偏移量。将此属性做成动画,可以看到波浪的移动。合理值范围为[0...360] 。默认值为0


distortionWidth : real

波纹的宽度。合理值范围为[2...100] 。默认值为10


radius : real

波纹从中心点延伸的距离。合理值范围为[0...100] 。默认值为100


© 2025 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.