在本页

Friction QML Type

用于施加与粒子当前速度成比例的摩擦力。更多

Import Statement: import QtQuick.Particles
Inherits:

ParticleAffector

属性

详细说明

财产文件

factor : real

移动物体会受到阻力,阻力是其当前速度的系数。

threshold : real

阻力只会作用于速度高于阈值速度的物体。拖动会将物体的速度降低到阈值速度,但不会进一步降低。

默认阈值为 0

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