A motion blur 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 MotionBlur effect creates a trailing streak for rapidly moving objects in the scene.
注意:
The
background mode
必须为
SceneEnvironment.Transparent
for MotionBlur to work.
blurQuality : real |
The quality of the blur used to create the trail. Increasing quality will have impact on performance. The range is
[0...1]
。默认值为
0.25
.
fadeAmount : real |
How fast the trail fades. The range is
[0...1]
,采用
0
meaning that the object trail persists indefinitely, and
1
meaning that the object trail fades out immediately. The default value is
0.25
.