Friction
ImportStatement: import QtQuick.Particles 2.0
Inherits: Affector
Properties
factor :real
threshold :real
DetailedDescription
PropertyDocumentation
factor :real
在移动的对象上应用一个阻力,它是当前速度的因子。越大摩擦力越大。
A drag willbe applied to moving objects which is this factor of their current velocity.
threshold :real
摩擦力仅仅作用在速度超过threshold的移动对象,当速度降到threshold,不进一步下降。默认为0。
本文深入探讨了Friction Affector在Qt Quick粒子系统中的使用方法及其实现原理,解释了factor和threshold属性如何影响移动对象的阻力效果,并提供了实例代码演示。
2775

被折叠的 条评论
为什么被折叠?



