Friction QML Type
用于施加与粒子当前速度成比例的摩擦力。更多
Import Statement: | import QtQuick.Particles |
Inherits: |
属性
详细说明
属性说明
factor : real |
移动物体将受到的阻力是其当前速度的系数。
threshold : real |
阻力只会作用于速度高于阈值速度的物体。所施加的阻力将使物体的速度降低到阈值速度,但不会再降低。
默认阈值为 0
© 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.