MotionBlur 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 类型提供自己的自定义后处理效果。

MotionBlur 效果可为场景中快速移动的对象创建拖尾条纹。

注意: background mode 必须是SceneEnvironment.Transparent ,MotionBlur 才能生效。

属性文档

blurQuality : real

用于创建轨迹的模糊质量。提高质量会影响性能。范围是[0...1] 。默认值为0.25


fadeAmount : real

痕迹消失的速度。范围为[0...1] ,其中0 表示对象轨迹无限期存在,1 表示对象轨迹立即消失。默认值为0.25


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